All Domains go to root folder

Discussion in 'General' started by tazmon95, Dec 17, 2007.

  1. tazmon95

    tazmon95 New Member

    Hello All,

    I've looked through many pages here on the forums and couldn't find anything related to what is happening with my fresh install on the Perfect Server Ubuntu 7.10.

    After completing the install and everything seemed to work fine, I was able to access the control panel via the IP address just fine. I went to my DNS server and changed the records to point to this box and it's spread around the net so it works now. My problem is this. When I go to the url that should go to the /var/www/www.mydomain.com/web folder, instead it just goes to the /var/www folder. This is my second ISPConfig setup and I've checked all the settings I can think of to make sure they are the same on the different machines. The only differences are that the new on is on Ubuntu 7.10 and the old one on Ubuntu 6.10.

    I'm not really sure where to look next. Thanks for the help

    ~Taz
     
  2. tazmon95

    tazmon95 New Member

    Anyone have any ideas on this?

    Everything coming in on port 80 just goes to /var/www and I see my directory tree with the domains listed that the address should go to. I've been looking at the Vhosts file and they look like they are telling the server to go to the correct directory... it's almost like the vhosts file isn't getting looked at though.

    Any ideas?
     
  3. falko

    falko Super Moderator Howtoforge Staff

    What's in Vhosts_ispconfig.conf, and what's the output of
    Code:
    ifconfig
    ?
     
  4. tazmon95

    tazmon95 New Member

    Thanks for biting on this one Falko. I kept looking and did find someone who had the same problem about 3 months ago but that thread ended without the problem being resolved.

    Here's what you asked for.

    And here is the output from ifconfig
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Your server is behind a router, so you will have to select the IP 192.168.3.150 for the websites and not the external IP in ISPConfig.
     
  6. tazmon95

    tazmon95 New Member

    Till,

    Thanks for that. It seemed obvious to me to set that to the IP of the external network, not the internal one... Such an easy fix that I overlooked so many times.

    ~Taz
     

Share This Page