Problems with Websites throwing "Page not found" Error.

Discussion in 'General' started by EDFun, Aug 1, 2023.

  1. EDFun

    EDFun New Member

    Greetings, I am new to IPC3 - I have followed your tutorial and am running it on Ubuntu 20.04.
    I can log into the ISP3 console no problem, I can also create clients and sites and even connect to them using FTP, but when I try to enter to visit the page using the domain it throws me a standard PNF 404. (Or in the event that the domain exists already, I instead get sent to the actual page that floats somewhere in the web)

    I have thought it might be the hosts file, or the hostname, so I posted them below:
    "
    127.0.0.1 localhost.localdomain localhost
    127.0.1.1 VPN-ACCESS.CalwVerwaltung.de VPN-ACCESS
    "
    Hostname:
    "VPN-ACCESS"

    Furthermore I tried to check the access and error logs of the website, however: The error.log is completely empty and the access.log doesn't even exist in the first place.
    Do you have any pointers as to how I could fix this issue?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Seems as if you are trying to access non-existing websites (or domains located elsewhere). See here for how to access a website on a different server than what the DNS points to:

    https://www.faqforge.com/linux/serv...ess-a-namebased-website-without-a-dns-record/

    You must edit the hosts file on your desktop for that. So the steps are:

    1) Add the domain (e.g. example.com) in the hosts file on your desktop if it does not point to your server in dns.
    2) Create a website in ISPConfig, select * in the IPv4 address field and enter the domain name in the domain field and press save.

    See also:

    https://www.howtoforge.com/ispconfig-website/
     

Share This Page