0

I come to you because currently I have a website that is hosted on my web server. But on this server I have several websites hosted on it. So to access it you have to put a port number. Until then it's normal. Each site has a domain name. What I would like is that we can access these websites without the need to add to the end of the domain name the example port test.fr:1000 And that the domain name is just display without the port number. test.fr

In configuration, I have an Apache server. Thank you for your help Kind regards Erwan

1 Answers1

0

You just need to use the default ports for HTTP (port 80) and respectively for HTTPS (port 443).

The default ports can be found in /etc/services file on a Linux/UNIX server or in RFC-1700

Mircea Vutcovici
  • 17,619
  • 4
  • 56
  • 83
  • Precisely I tried to put port 80, but it does not work. It puts me ERR_CONNECTION_RESET. Whereas when I put port 1000 for example and well it works – Erwan LAUNAY Jun 12 '23 at 08:33
  • How do you configure docker and the apacke listener? Share in the question the output of `ss -tlnp` and filter with `grep` for your apache process. – Mircea Vutcovici Jun 12 '23 at 14:05