0

I rent a VPS / seedbox that happens to offer http file hosting via nginx. Instead of renting another service to host my website, I've configured my current VPS successfully. The catch is that nginx is assigned a random port above 10000.

I rented a domain name from GoDaddy, and tried using their "forwarding with masking" functionality to point to my nginx configuration. This was the only solution I've noticed that can handle a port other than 80. This breaks my mobile (bootstrap) functionality. The viewport seems to become misunderstood.

I need some way of hosting my website (IP:port) where the user only sees my domain

My favorite of last resorts: an A record from domain --> server. This allows the user to type my domain into their browser, followed by the port domain:port and they will hit my server at IP:port. But, if they type my domain without the port, they will hit my server IP port 80, which is the manage page for the VPS service. I would hide this using the GoDaddy forwarding service, to forward all requests of the top-level domain, into the custom port: domain --> domain:port

This results in a link from domain --> domain:port where domain --> IP, which just isn't working and doesn't exactly look like it should or even could work.

I need advice from someone who knows more about DNS and records, to tell me if there are any elegant solutions for utilizing a pretty domain name while hosting elsewhere through a custom port or just tell me where I went wrong :)

austin
  • 131
  • 3

0 Answers0