There are many reasons why your website isn't displaying, and none of them are good. If you can't see your website after you upload your site content, here are a few things you can check.
Make sure your billing is up-to-date and that your domain hasn't expired
This isn't a problem for brand-new domains and websites, but sometimes if you're super busy existing domains and sites can lapse before you know it.
- Go to you Renew Services page to make sure your payments are up-to-date and your domains are still active.
Refresh your Web browser
Occasionally you might need to clear the web browser cache to see your website:
- Chrome or Internet Explorer: press CTRL + F5
- Firefox: press CTRL + R
- Safari: press Command + Option + R
Make sure your DNS is pointed correctly
If your domain is registered with Heart Internet, we updated your DNS records when you set up your account and this shouldn't be an issue. But if your domain name is registered somewhere else, make sure that you're using the right nameservers to point your domain name to the website. For more, see:
- Find my nameservers to use when your domain is registered somewhere else.
- Change nameservers for my domains if your website is hosted somewhere else.
Make sure your website files are in the right directory
If you uploaded your website files to the wrong directory, you'll definitely have problems viewing the site. The name of the correct directory for your files depends on your hosting type:
- Linux Hosting with cPanel: /public_html for your primary domain. For a subdomain or addon domain, here's how to find the root directory:
- In the cPanel Admin Home Page, in the Domains section, click either Subdomains or Addon Domains.
- In the Modify Addon Domain or Modify a Subdomain section, the root directory appears below Document Root.
Check the file name for your home page
When your domain name is typed into a Web browser, the home page should display. The file name for your home page could be one of several names depending on how your website files were created (for example, index.htm or Default.html are possible). Here are valid index files in cPanel listed by order of precedence
- index.html.var
- index.htm
- index.html
- index.shtml
- index.xhtml
- index.wml
- index.perl
- index.pl
- index.plx
- index.ppl
- index.cgi
- index.js
- index.jp
- index.php4
- index.php3
- index.php
- index.phtml
- default.htm
- default.html
- home.htm
- index.php5
- Default.html
- Default.htm
- home.html
Check image file names and paths
If your images aren't displaying, make sure that the directory where the images are located and the path specified in your code match exactly.
Note: Paths in Linux accounts are case sensitive - so if there are uppercase characters in your image name (for example, MyImage.jpg) then the path in your code must also use uppercase characters in the same places, or else the image won't appear.
Correct broken site links
If you developed your website locally, your code should adjust for the environment change that occurs when you upload site content. Web page URLs, image paths, and database names can all be environment-sensitive.
We recommend that you use relative URLs when referencing Web pages. Relative URLs identify a Web page in relation to, or in the context of, the current page. Because they do not reference the domain name, relative URLs do not require modification when changing environments.