webserver

Discussion in 'Server Operation' started by Alex Hulshof, May 28, 2015.

  1. Alex Hulshof

    Alex Hulshof Member

    I copied all my website files to:
    /var/www/clients/client1/web1/web
    if I do ls -l on it I see all my files in this directory.
    However when i want to see my website I only see the Apache2 Ubuntu Default Page

    How can this happen and what should I do?
     

    Attached Files:

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    This happens e.g. when the ip selected in the website does not match with the dns ip of that domain. if apache does not find a mtching vhost, it will display the default vhost.
     
  3. Alex Hulshof

    Alex Hulshof Member

    Till,
    I don't understand:
    In ISPconfig:
    My dns record shows the correct IP address
    My web domain IP address is the same
    The server IP address is the same
    If I ping example.eu response is positive and showing same IP address
    What else can it be? Any thought on how to resolve it or trouble shoot this?
    Should I uninstall ispconfig and reinstall it?
     
    Last edited: May 28, 2015
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Thats not a ispconfig issue, so reinstalling will not change anything. Did you select * or the IP address for this website. If you selected *, then try to select the IP instead. If your server is behind a router, then this is the local IP, not the external.
     
  5. Alex Hulshof

    Alex Hulshof Member

    in my web domain I have my external IPv4 number: 83.xyz.ab.249
    in IP address I have the same IPv4 number
    in server config my IP address =127.0.11, netmask 255.255.255.0, gateway 0.0.0.0, hostname: server1.examle.eu
    All the same as I always had. But now it does not function correct.
    Yes the system is behind a fritzbox but I never had to use the internal ip address from my server anywhere in getting my site up and correct running.
    Maybe I should rebuild the server? I mean I build it again according the
    The Perfect Server - Ubuntu 15.04 (Vivid Vervet) with Apache, PHP, MySQL, PureFTPD, BIND, Postfix, Dovecot and ISPConfig 3.
    and this is the first time my website is not shown. The last couple of times I build it it always worked.
     
  6. Alex Hulshof

    Alex Hulshof Member

    Resolved by rebuilding server
     

Share This Page