Can I specify a port when adding a record upon creating a domain?

Posted March 10, 2015 4.1k views

I am pointing my GoDaddy domain to my DigitalOcean VPS. In DigitalOcean, I created a domain in the DNS section.

However, I tried to add a record A with IP Address like x.x.x.x:8080 but the error will say the “The IP address did not match the ipv4 format”.

Is there a way I can specify my IP address in any of the records to point to an IP address with port?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

No, you can’t, that’s not how DNS works, neither the web. You need to use standard ports (80 or 443 for SSL).

Maybe if you specify more about your system we can help you with a solution.