Hosting Account Domain Name Change Troubleshooting

If your website'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.coolexample.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 website 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 website page in relation to, or in the context of, the current page. If both pages exist in the same website 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.


Var den här artikeln till hjälp?
Tack för din feedback. Ring vårt supportnummer eller starta chattalternativet ovan om du vill prata med en medarbetare på kundtjänst.
Vi är glada att vi kunde hjälpa till! Finns det något mer vi kan göra för dig?
Det var tråkigt att höra. Berätta vad som var krångligt eller varför lösningen inte hjälpte dig med problemet.