I'm building a new version of a site on my Linode Debian installation and would like to set it up so that I can access my domains via IP address before actually switching the DNS over as I've been able to do on other servers - in this case, not the main domain but one of the secondary domains I set up.
I figured the first step would be to get the IP to resolve to my main domain, but I can't even seem to get that to work. Currently when I access my main IP address it delivers the default "It Works"HTML file in the /var/www folder, rather than the folder for the domain itself.
I followed the instructions on "Adding IP Addresses" (
http://library.linode.com/networking/co ... interfaces) and edited the /etc/network/interfaces file as well as the /etc/hosts but it did not seem to have any effect. Please note, I'm new to Linux so I might be misunderstanding a concept or two (ie, patience is appreciated), but I've hit a brick wall with the documentation.