{"id":999957592,"date":"2022-03-29T12:15:00","date_gmt":"2022-03-29T12:15:00","guid":{"rendered":"https:\/\/f60host.com\/support\/?p=999957592"},"modified":"2022-03-29T12:15:00","modified_gmt":"2022-03-29T12:15:00","slug":"redirect-a-domain-in-cpanel","status":"publish","type":"post","link":"https:\/\/f60host.com\/support\/redirect-a-domain-in-cpanel\/","title":{"rendered":"How to Redirect a Domain in cPanel"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/f60host.com\/support\/wp-content\/uploads\/2022\/03\/how-to-redirect-a-domain-in-cpanel.jpg\" alt=\"How to Redirect a Domain in cPanel\" class=\"wp-image-999960733\" title=\"How to Redirect a Domain in cPanel\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"redirect-a-domain-in-cpanel\">Redirect a Domain in cPanel<\/h2>\n\n\n\n<p>The Redirect a Domain in cPanel is the most crucial duty of a web server managed by<strong> cPanel &amp; WHM<\/strong> is serving web pages in response to<strong> HTTP<\/strong> requests, which is dependent on the correct configuration of domain names and IP addresses. Manually configuring IPs and domains is a pain, but cPanel &amp; WHM online&nbsp;<\/p>\n\n\n\n<p>interface makes common web server management tasks a breeze.<\/p>\n\n\n\n<p>In this article, we\u2019re going to explore four aspects of <a href=\"https:\/\/f60host.com\/domains.php\">IP and domain<\/a> name management:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Adding a new<strong> IP address<\/strong> and redirecting it to a domain.<\/li><li>Adding a new <strong>domain in cPanel.<\/strong><\/li><li>Configuring domain redirects in <strong>cPanel<\/strong>.&nbsp;<\/li><li>Configuring domain forwarding in<strong> WHM.<\/strong>&nbsp;<\/li><\/ul>\n\n\n\n<p>Finally, we&#8217;ll teach you how to clear the DNS caches on your operating system, which will solve a problem that many users encounter when changing their IP and domain configurations.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"steps-for-redirect-a-domain-in-cpanel\"> Steps For Redirect a Domain in cPanel&nbsp;<\/h2>\n\n\n\n<p>You might want to add a new IP address to your server for a variety of reasons. You may want to assign a static <strong>IP address <\/strong>to a <strong>cPane<\/strong>l user or reseller or let a site function from a dedicated IP address.<\/p>\n\n\n\n<p>To add an IP address to a web server, you need:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>&nbsp;Access to its root account; we\u2019ll be working in<strong> WHM.&nbsp;<\/strong><\/li><li>A new IP address from your hosting provider. They will set up their network to associate the IP with the server.<\/li><\/ol>\n\n\n\n<p><strong>Step 1:<\/strong> First, we&#8217;ll inform cPanel &amp; WHM of the IP address so that they may set up the server and make the IP address available for usage with websites and other services.<\/p>\n\n\n\n<p><strong>Step 2:<\/strong> Navigate to Add a New IP Address under IP Functions in the WHM sidebar menu.&nbsp;<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><a href=\"https:\/\/f60host.com\/support\/wp-content\/uploads\/2022\/02\/00-cpanel-add-new-ip-address-3.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/f60host.com\/support\/wp-content\/uploads\/2022\/02\/00-cpanel-add-new-ip-address-3-1024x782.png\" alt=\"Domain in cPanel\" class=\"wp-image-999958617\" width=\"768\" height=\"587\"\/><\/a><\/figure>\n<\/div>\n\n\n<p><strong>Step 3:<\/strong> Fill in the new IP address as well as the subnet mask. Ask your hosting provider if you don&#8217;t know the subnet mask to use. The mask specifies which portion of the address is for the network and which part is for the network&#8217;s devices. The subnet mask for each IP on your server should be the same, regardless of the host&#8217;s setup.<\/p>\n\n\n\n<p><strong>Step 4:<\/strong> To finish,<strong> click Submit<\/strong>. If you make a mistake, go to Show or Erase<strong> Current IP Addresses<\/strong> and delete the new address.<\/p>\n\n\n\n<p><strong>Step 5:<\/strong> You may now correlate the address with hosting and reseller accounts, as well as individual websites. We&#8217;ll teach you how to change the IP address of an existing site to the new one.<\/p>\n\n\n\n<p><strong>Step 5:<\/strong> The Account Information submenu will open the List Accounts page. Select the account that is linked with the domain you wish to update and click the <strong>&#8220;+&#8221;<\/strong> next to it.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><a href=\"https:\/\/f60host.com\/support\/wp-content\/uploads\/2022\/02\/01-cpanel-change-site-address.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/f60host.com\/support\/wp-content\/uploads\/2022\/02\/01-cpanel-change-site-address-1024x782.png\" alt=\" Domain in cPanel\" class=\"wp-image-999958612\" width=\"768\" height=\"587\"\/><\/a><\/figure>\n<\/div>\n\n\n<p><strong>Step 6:<\/strong> Click the <strong>Change IP Address button<\/strong>, and then select the IP we just added from the drop-down menu.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><a href=\"https:\/\/f60host.com\/support\/wp-content\/uploads\/2022\/02\/02-cpanel-select-new-site-ip-1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/f60host.com\/support\/wp-content\/uploads\/2022\/02\/02-cpanel-select-new-site-ip-1-1024x782.png\" alt=\"Change IP Address button\" class=\"wp-image-999958615\" width=\"768\" height=\"587\"\/><\/a><\/figure>\n<\/div>\n\n\n<p>Changing the site\u2019s IP will make it unavailable at its old IP, and should expect it to appear offline for some time.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"how-to-add-a-new-domain-to-cpanel\">How to Add a New Domain to cPanel<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>Log into your<strong> hosting cPanel<\/strong>.<\/li><li>Click on Addon Domains, located under the Domains section.<br \/><\/li><li>Enter the domain in the New Domain Name<strong> <\/strong>section.<\/li><li>Once the domain is entered, click The Subdomain field and the Document Root<strong> (usually public_html\/domain.com)<\/strong> will automatically fill in. Check &#8220;<strong>Create an FTP account <\/strong>associated with this Addon Domain&#8221; if you want an FTP added. The FTP account would only have access to that specific Addon domain and nothing more.<\/li><li>Click <strong>Add Domain<\/strong><\/li><\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><a href=\"https:\/\/f60host.com\/support\/wp-content\/uploads\/2022\/02\/2016-11-02_0711.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/f60host.com\/support\/wp-content\/uploads\/2022\/02\/2016-11-02_0711.png\" alt=\"Add Domain\" class=\"wp-image-999958616\" width=\"537\" height=\"254\"\/><\/a><\/figure>\n<\/div>\n\n\n<p>After that, you&#8217;ll need to add the appropriate DNS entries. You can add DNS records later if you like, but any Addon domains will not connect or operate until DNS records have been uploaded.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"how-to-add-dns-records-to-addon-domains\">How to add DNS records to Addon domains:<\/h3>\n\n\n\n<ol class=\"wp-block-list\"><li>Return to your Name.com account&#8217;s<strong> <\/strong><a href=\"https:\/\/f60host.com\/shared-hosting.php\" data-type=\"URL\" data-id=\"https:\/\/f60host.com\/shared-hosting.php\">Web Hosting Dashboard<\/a><strong> page<\/strong>. Your Addon domains will be instantly synchronised, but you may need to refresh the page to see them.<\/li><\/ol>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\"><li>In the <strong>DNS Management section<\/strong>, select your Addon domain from the menu.<\/li><\/ol>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\"><li>Select DNS Templates from the drop-down menu. By default, the Hosting template will be picked.<\/li><\/ol>\n\n\n\n<p>To add<strong> DNS records<\/strong>, click the Confirm button.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">More information<\/h3>\n\n\n\n<p>For more information about Google G Suite\/Workspace domains, Server, Hosting, check out these&nbsp;<a href=\"https:\/\/f60host.com\/\">F60 Host<\/a>&nbsp;resources:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/f60host.com\/domains.php\">F60 Host Domains<\/a>,&nbsp;<a href=\"https:\/\/f60host.com\/shared-hosting.php\">F60 Host Hosting<\/a>,&nbsp;<a href=\"https:\/\/f60host.com\/google-gsuite-workspace.php\">Google G Suite<\/a><\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Redirect a Domain in cPanel The Redirect a Domain in cPanel is the most crucial<span class=\"excerpt-hellip\"> [\u2026]<\/span><\/p>\n","protected":false},"author":1,"featured_media":999960733,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-999957592","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-c-panel-hosting"],"_links":{"self":[{"href":"https:\/\/f60host.com\/support\/wp-json\/wp\/v2\/posts\/999957592","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/f60host.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/f60host.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/f60host.com\/support\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/f60host.com\/support\/wp-json\/wp\/v2\/comments?post=999957592"}],"version-history":[{"count":0,"href":"https:\/\/f60host.com\/support\/wp-json\/wp\/v2\/posts\/999957592\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/f60host.com\/support\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/f60host.com\/support\/wp-json\/wp\/v2\/media?parent=999957592"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/f60host.com\/support\/wp-json\/wp\/v2\/categories?post=999957592"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/f60host.com\/support\/wp-json\/wp\/v2\/tags?post=999957592"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}