I have a very cheap VPS with the IP
which listens on these ports: 7000, 7001, ... 7020. Apache listens on port 7010. Then I can access my website with http://18.104.22.168:7010
As this is a shared IP, I cannot listen on port 80 myself with my VPS: I only have access to 7000 ... 7020.
I have registered a domain
by a domain provider and I'm using their nameservers.
How to set up the DNS records such that any user going on http://www.mydomain1.com will be transparantly directed to my website, with Apache ?
(the browser will probably default to port 80, is that right?)
I initially thought about such a DNS record:
but then, I think I would have to access the website with http://www.mydomain1.com:7010 (which is not nice) and not http://www.mydomain1.com (which would be better).
Name TTL Type Priority Content
*.mydomain1.com 3600 A 0 22.214.171.124