Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So before I started putting websites on my VPS, I could access the IP directly and it would access the html folder in the /var/www/ area. But ever since I placed websites on the VPS, I can no longer access that HTML folder, it goes to the first domain I have listed on the httpd.conf file.

Is there a way I can make the IP its self look like a website in the httpd conf file? I tried to construct it like the other websites but httpd would stop working.

share|improve this question
HTML is one of the few protocols which sends the hostname along with the requests. So trying to get to webpage is not the same as trying to view I can appear the same if the web server only has one domain. E.g. it might serve the first (and only) domain in that case. This is why you run into your problem. – Hennes Nov 9 '13 at 2:51
@Hennes A better example of this is vs All stack exchange sites (that I have checked) are hosted on – Scott Chamberlain Nov 9 '13 at 3:04

You must log in to answer this question.

Browse other questions tagged .