Using the Shared URL:
You can access your account using the shared, or "preview", URL for your server. That shared URL is the server name followed by a tilde and your cPanel username. So if you are on the server "pontus.springshosting.net", and your cPanel username is "pontus1", the shared URL for your website would be as follows:
http://pontus.springshosting.net/~pontus1/
You can also access the preview URL over a secure (https) connection:
https://pontus.springshosting.net/~pontus1/
Updating Your Local Hosts File:
Another method of previewing your website is to edit the local hosts file on your computer to map the domain to your website IP address. When your computer looks up the physical IP address of a domain, it first checks this file, before checking external DNS servers. Refer to the directions below for the operating system you are using.
- Open the hosts file in a text editor. The location of the hosts file depends on your computer's operating system:
- - On Microsoft Windows computers, the hosts file is located at \%SystemRoot%\system32\drivers\etc\hosts.
- - On Windows Vista, Windows 7, and Windows 8, click Start, search for Notepad, right-click the icon, and select Run as Administrator.
- - On Windows 10, click Start, type notepad, right-click Notepad, and then click Run as administrator.
- - Note: Run as Administrator starts Notepad with the elevated privileges necessary to open, modify, and save the hosts file. Note that in Notepad's Open dialog, you must use the All Files filter to see the hosts file.
- - On Apple Macintosh computers, the hosts file is located at /private/etc/hosts.
- - On Linux computers, the hosts file is located at /etc/hosts.
- - Note: The hosts file is a plain text file, so you should use a plain text editor like Notepad or nano to edit it. Do not use a word processor like Microsoft Word! - When you open the hosts file, you should see an entry that resembles the following line:
127.0.0.1 localhost
- - To create a new address for your domain, add a line to the file as follows:
12.34.56.78 yourdomain.com
- - Replace 12.34.56.78 with your Springs Hosting server IP address, and replace yourdomain.com with your web site's domain name. You can obtain your account's IP address by logging into your cPanel, and expanding "Server Information" under the "General Information" box on the right.
- - Save the hosts file and exit the text editor.
- - To test the configuration, restart your web browser and go to http://yourdomain.com, where yourdomain.com is your domain name. You should see your web site's main page (assuming you have created some content).
- - When DNS propagation is complete, make sure you go back and remove the relevant entries from the hosts file.