RHochstenbach
asked on
SRV record _http._tcp. not working
I have a networking device with a web interface serving HTTPS pages. There's an A record pointing to it (mydomain.com points to that device). But when people visit the domain without https (ordinary http), I want them to be directed to another server (in this case server2.mydomain.com).
Now I've created the following SRV record: _http._tcp.mydomain.com. 0 100 80 server2.mydomain.com.
When performing a lookup, it properly shows the entry. But whenever someone enters mydomain.com in their browser (and even http://mydomain.com or mydomain.com:80), they get directed to the HTTPS device which is referred to in the A record.
Did I forget to configure something? Or are A records always chosen instead of SRV records if they exist?
Now I've created the following SRV record: _http._tcp.mydomain.com. 0 100 80 server2.mydomain.com.
When performing a lookup, it properly shows the entry. But whenever someone enters mydomain.com in their browser (and even http://mydomain.com or mydomain.com:80), they get directed to the HTTPS device which is referred to in the A record.
Did I forget to configure something? Or are A records always chosen instead of SRV records if they exist?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER