A user is seeking help to set up a subdomain for Discourse on a server where port 80 is already in use. MayusYT initially tries to use a port in the DNS record, but uwe_keim clarifies that DNS only handles IP addresses, not ports. itsbhanusharma suggests using a subdomain instead, and MayusYT confirms this is the goal. itsbhanusharma explains that an A record for the subdomain should point to the server’s IP, and the Nginx proxy should be configured with server_name sub.example.com; to route traffic to the Discourse container. MayusYT thanks them for the solution.
I just bought a domain at Namecheap.com.
I have a server with just one IP and I would like to run Discourse on the port 8080 as 80 is already occupied by my website.
When I want to setup an A record for discourse with the port 8080, namecheap says that it’s not a valid IP adress.