![]() We’ve explored redirecting IPs to domains and adding new domains, but what if you want to redirect one domain to another? This is a frequent request when, for example, a brand changes its domain but doesn’t want its old links to break. Configuring Domain Redirects in cPanel & WHM The default document root is shared between this domain and the account’s main domain, but you can choose any other directory under your home directory.Ĭlick Submit, and you’re done! You can now go ahead and create your new site. You can learn more about DNS server configuration in How to Configure DNS Nameservers with cPanel and The DNS Zone For Beginners.Įnter the domain name and a document root for the site’s files. We’re assuming you have already purchased your domain from a registrar and that your account’s DNS servers are correctly configured. How to Add a New Domain to cPanelĪdding a new domain is a more common task than adding an IP address, so let’s look at how you can do it in less than a minute with cPanel. Choose the account associated with the domain you want to change and click the “+” next to the domain.Ĭlick the Change IP Address button, and then select the IP we just added from the drop-down menu.Ĭhanging the site’s IP will make it unavailable at its old IP, and should expect it to appear offline for some time. Open the List Accounts page from the Account Information submenu. We’ll show you how to change an existing site’s IP address to the new one. Now the address is added, you can associate it with hosting and reseller accounts or individual websites. If you make a mistake, you can delete the new address in Show or Delete Current IP Addresses. It differs depending on the host’s configuration, but every IP on your server should use the same subnet mask.Ĭlick Submit to finish. The mask indicates which part of the address is used for the network and which part for devices on that network. If you don’t know which subnet mask to enter, ask your hosting provider. Navigate to Add a New IP Address under IP Functions in the WHM sidebar menu.Įnter the new IP address and a subnet mask. They will set up their network to associate the IP with the server.įirst, we’re going to let cPanel & WHM know about the IP address so it can configure the server and make the IP available for use with websites and other services. A new IP address from your hosting provider.Access to its root account we’ll be working in WHM.To add an IP address to a web server, you need: You may want to give a cPanel user or reseller a static IP address or allow a site to operate from a dedicated address. There are several reasons you might add a new IP address to your server. How to Redirect a New IP to a Domain in cPanel To finish off, we’ll show you how to flush operating system DNS caches, solving a problem that frustrates many users when they change IP and domain configurations. Configuring domain redirects in cPanel.Adding a new IP address and redirecting it to a domain. ![]() In this article, we’re going to explore four aspects of IP and domain name management: Manually configuring IPs and domains is incredibly complicated, but cPanel & WHM’s web interface makes light work of everyday web server administration tasks. ![]() A web server managed by cPanel & WHM has many responsibilities, but its most important job is serving web pages in response to HTTP requests, a process that depends on the correct configuration of domain names and IP addresses.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |