Default is not longer sharedip

Discussion in 'Installation/Configuration' started by allwayson, Jan 17, 2008.

  1. allwayson

    allwayson New Member

    A few weeks ago something must have changed but I can figure out what. All of a sudden I noticed that if you go to any address on my server that does not resolve to a vhost I end up on one of my client sites instead of the /var/www/sharedip directory. I have checked all my apache config files and Vhosts_ispconfig.conf but cannot find a problem. Even if you go to my IP address directly http://71.155.205.13 you end up going into the directory /var/www/web45/www? Any help would be appreciated.

    Also there is nothing set for that client in the Apache Directives in ISPConfig either...

    Mark
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please have a look in the apache2.conf file, if there is a vhost for the shared IP page.
     
  3. allwayson

    allwayson New Member

    Sorry a problem

    Sorry Falko I should have included my system info.

    Fedora Core 5
    ISPConfig 2.2.6

    Setup is exactly as The Perfect Setup Fedora Core 5 and ISPConfig describes on your site. Attached below are my

    /etc/httpd/conf/httpd.conf
    /etc/httpd/conf/vhosts/Vhosts_ispconfig.conf

    files.
     

    Attached Files:

  4. unclecameron

    unclecameron New Member

    sometimes if you have DNS problems, requests will just go to the first directive on your apache list, did anything change in DNS? If there has been changes, try restarting apache, it might see them now.
     
  5. allwayson

    allwayson New Member

    Not DNS

    Thanks for the reply.

    Nothing wrong with the DNS that I can tell. Also thought about like the first or last thing in the apache config file. Unfortunatly the site it is defaulting to is in the middle of the vhosts list. Really strange. Just not sure what is happining here.

    I use ISPConfig to manage several servers and this is the only one I have this problem on. Just not sure what might have gotten changed or corrupted. Anything in the database control this?

    Mark
     
  6. falko

    falko Super Moderator Howtoforge Staff

    Which one is it?
    What's the output of
    Code:
    ifconfig
    ?
     
  7. allwayson

    allwayson New Member

    default

    It is defaulting to www.spurtindustries.com which is client /var/www/web44web/


    Here is the output of ifconfig
    eth0 Link encap:Ethernet HWaddr 00:13:72:3D:82:E6
    inet addr:71.155.205.13 Bcast:71.155.205.255 Mask:255.255.255.0
    inet6 addr: fe80::213:72ff:fe3d:82e6/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:11088367 errors:0 dropped:0 overruns:0 frame:0
    TX packets:9468713 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:2525876606 (2.3 GiB) TX bytes:3193560433 (2.9 GiB)
    Interrupt:16

    eth0:1 Link encap:Ethernet HWaddr 00:13:72:3D:82:E6
    inet addr:192.168.15.113 Bcast:192.168.15.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    Interrupt:16

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:8218779 errors:0 dropped:0 overruns:0 frame:0
    TX packets:8218779 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:1069682603 (1020.1 MiB) TX bytes:1069682603 (1020.1 MiB)
     
  8. falko

    falko Super Moderator Howtoforge Staff

    Can you post the output of
    Code:
    ls -la /var/www
    ? Any errors in Apache's error log?
     

Share This Page