Sometimes we have clients who need to create content before
their websites are live. Okay, that is always a need.
So, having them use a host file hack is the cleanest way for us
to get sites setup, but not have to remember any odd links or
amazon ec2 subdomains etc.
Custom Domain Pointer for your local machine:
These instructions require that you have administrator rights on
your machine.
- Start - Run - Notepad (Hold "Shift" and Right Click on Notepad,
choose "run as administrator")
- File - Open
- Navigate to "C:\Windows\System32\drivers\etc"
- Open "Hosts"
- At the end of the file, on a new line enter "xx.xx.xx.xx
DomainName.Com" where xx.xx.xx.xx is the IP address of
the new site setup and DomainName.Com is the new site domain that
is not setup yet.
- Save the File.
- Go to your browser and type in DomainName.Com