Apache2 Default Webpage Instead of Website

Discussion in 'Installation/Configuration' started by BharatG, Mar 16, 2017.

  1. BharatG

    BharatG New Member

    Hello,

    I have an ispconfig 3 server configured which works well when the internet is directly connected to the server.
    Now I've introduced a router in between and forwarded the following ports to the fixed local ip assigned to the server :
    8080, 80, 3306, 22, 8081, 53, 443, 21

    When i try accessing the page via the IP address, I can see Apache2 Default webpage instead of the index page of the client1 website, which is not the same when I have a direct connection.

    I tried searching for the answer on the forum but could find either the Admins questions for "Is your server behind a router?" unanswered or the issue with the router thing is completely different.

    It would be great if I could get this working.

    Thanks
     
  2. Tuumke

    Tuumke Member

    https://www.faqforge.com/linux/whic...g-3-server-and-shall-be-open-in-the-firewall/
    If you are willing to share (you could also send a PM):
    1. What is the domain used?
    2. What is the ip adress of the server?
    3. Did you create: Client > Website > DNS?
     
  3. BharatG

    BharatG New Member

    Hi,

    I did look through that link and since I'm not using a mailing server I haven't forwarded the SMTP and POP ports.
    Also like I mentioned, the whole website works well without a router in between, But I get the Apache2 default page when I put a router in between and forward the requests to the local ip assigned to the server
     
  4. florian030

    florian030 ISPConfig Developer ISPConfig Developer

    and your vhosts are ALL listen to the same ip / * ?
     
  5. BharatG

    BharatG New Member

    Yes, The router passes all the ports, mentioned in the original post, to the local IP that is static to the server. I can get the isp config page when I access the page via IP:8080
    And yes I've put the service as All
     
  6. BharatG

    BharatG New Member

  7. Jesse Norell

    Jesse Norell Well-Known Member

    I don't quite understand what that means, but I believe @florian030 was questioning if all your vhosts are set to the same ip address, or all set to '*' for the address, not mixing the two. (The output of 'apachectl -S' might help clear this up.)

    Did you regenerate your website config after changing ip addrs?
     

Share This Page