Error 404 when using public IP address. Localhost works ok.

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
Robert NZ
-


Joined: 08 Mar 2023
Posts: 1

PostPosted: Wed Mar 08, 2023 5:59 am    Post subject: Error 404 when using public IP address. Localhost works ok. Reply with quote

I am getting error 404 from Abyss Web Server when using public IP address (via HTTP).
Everything works perfectly when using localhost (and port number).

Any advice would be greatly appreciated.
Back to top View user's profile Send private message
admin
Site Admin


Joined: 03 Mar 2002
Posts: 1295

PostPosted: Sat Mar 18, 2023 5:56 pm    Post subject: Re: Error 404 when using public IP address. Localhost works Reply with quote

Robert NZ wrote:
I am getting error 404 from Abyss Web Server when using public IP address (via HTTP).
Everything works perfectly when using localhost (and port number).

Any advice would be greatly appreciated.


The problem was solved by email. We share below our answer as it may be useful to others:

Quote:
You have configured your unique host in the console to be associated with the host name "localhost" only.

So it will only respond to requests containing that exact host name and return error 403 otherwise.

If you plan to reach your host using many possible names or even IP addresses, it is recommended to not set any host name. When the host names table is empty, the host will be shown as "Default host on port 80" and it will reply to all requests on port 80 with no host name restrictions.

To do so, open the console, select "Configure" in the "Hosts" table, select "General", then in the "Host names" table, click on the "trashcan" icon next to the "localhost" line. Confirm the deletion and restart Abyss Web Server.

_________________
Follow @abyssws on Twitter
Subscribe to our newsletter
_________________
Forum Administrator
Aprelium - https://aprelium.com
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group