Home - Help & Support - Contact Us
    

Hosting Account Domain Name Change Troubleshooting

If your Web site's pages do not resolve after changing the domain name on your hosting account, you may be using absolute URLs containing the old domain name in the HTML code for your site. Absolute URLs contain the entire URL path (e.g., "http://www.example.com/default.html"). After a domain name change, you must update any absolute URLs in the HTML to reflect the new domain name. Once you update the URLs and upload the modified pages to your site, the pages will resolve.

We recommend that you use relative URLs when referencing your Web pages. When a Web site uses relative URLs, the domain name associated with a hosting account can change without the complications that result from the use of absolute URLs. Relative URLs identify a Web site page in relation to, or in the context of, the current page. If both pages exist in the same Web site directory, then only the page name is required (e.g. "destinationpage.html"). Because they do not reference the domain name, relative URLs do not require modification when the domain name changes on a hosting account.

Rated:NR/0 Votes
361 Views
More Articles From Domain Name Change
More Articles From Domain Name Change
Print Article
Print
Share |
Comments, Questions & Reviews

Comments is currently disabled for this article!
Related Articles and Readings
What is the absolute path for my Linux hosting account?
This is the absolute path for your Linux hosting account: /home/content/1/2/3/username/html/ Where "/1/2/3/" are the first three letters of your user ...
How to find absolute path of file from root on a linux web server?
 The easiest way to find absolute path of file from root on a linux web-server is to use php.   Create ...
Why does my Free Ad Supported hosted site not display correctly?
Your site will display content to the right or left of the ad banner if your HTML code uses absolute ...
What is mod rewrite?
Mod_rewrite is an Apache web server module installed on all of our Linux servers by default; it does not have ...
What is the Absolute or Direct Path for my Windows ASP Hosting Account?
Within ASP/ASP.NET, you can use the function Server.MapPath("") to return the full path to your hosting account. If you create ...
The information provided in this article is for general information and/or the comments is the sole responsibility of their respective authors and does not necessarily reflect the opinion of zeronese.net does not endorse any article and/or comments published by our web users unless otherwise noted.