Point to domain locally on your computer

Local redirection

By changing your hosts file on your computer, you can do a local redirection to e.g. be able to work with your WordPress site with us before you do a real DNS redirect for your domain.

Change in host file on Mac

Open the terminal by clicking on the Launchpad symbol, type Terminal in the search box and then click on Terminal. Enter the following command in the Terminal:

 sudo nano /private/etc/hosts

Enter your password for your computer. Keep in mind that you won`t get a response if you actually type any character in the terminal here. At the bottom of the file, add the IP address where you want to point your domain and then the domain name itself. [Here](/#ip- addresses-to-our-webhosting servers) you can see the IP addresses of our servers.

This is how it might look if, locally, you want to point the domain inleed.se to the IP address 5.150.195.194.

 5.150.195.194 inleed.se
 5.150.195.194 www.inleed.se

Save by pressing CTRL+X and then Y for yes and finally press Enter. When you now go into any browser to your domain should you see the content against the IP you have pointed to. You may need to clear the cache in your browser.

Change in hosts file on Windows

Locate the Notes program in your list of programs and open it as an administrator by right-clicking on the program and select "Run as administrator". This is important because otherwise you do not have rights to change the hosts file. Then navigate through the program to C:\Windows\System32\drivers\etc\ and open the file called hosts there. You may need change to show all files instead of just text files.

At the bottom of the file, add the IP address where you want to point your domain and then the domain name itself. [Here](/#ip-addresses-to-our-webhosting servers ) you can see the IP addresses of our servers.

This is how it might look if, locally, you want to point the domain inleed.se to the IP address 5.150.195.194.

 5.150.195.194 inleed.se
 5.150.195.194 www.inleed.se

Sthen save the file in the usual way and when you now enter your domain in any browser you should see the content against the IP you have pointed to. You may need to clear the cache in your browser.