Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I installed and configured apache server on Linux VPS hosting and uploaded my old website to the new server. I did not point (yet) the domain name to the new IP address. When I click on the browser the new IP address, I don't see my website, but a default web page (I expected to see the website). Does that mean that the Apache server configuration is wrong or only if I change the IP address of the domain name, I will be able to see the website???

share|improve this question
add comment

1 Answer

Most likely the server control panel software is configuring and Apache virtual host. And it sounds like the first vhost isn't also the default vhost.

To test to see if the vhost configuration is correct, without changing the global/public DNS, you can edit your hosts file where you are browsing from. /etc/host on Linux, C:\Windows\System32\drivers\etc\hosts under Windows. You may have to restart your browser.

share|improve this answer
    
If I enter the IP address in the browser, should I see the website without editing the .../etc/hosts file ??? –  Joval Aug 24 '11 at 5:13
    
well... not until dns is configured. –  SamK Aug 24 '11 at 9:07
    
Your web browser is asking for 1.2.3.4, which isn't at all the same thing as thing.com –  Jeff Warnica Aug 26 '11 at 2:53
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.