Bring website online with domain without adding the port

bn flag

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 And that the domain name is just display without the port number.

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

Jaromanda X avatar
ru flag
apache should let you do that - read the "Apache Virtual Host" documentation for how that works
cn flag

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

Erwan LAUNAY avatar
bn flag
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
cn flag
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.
I sit in a Tesla and translated this thread with Ai:


Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.