I am unable to find the proper setup of DNSDNS records with URL RedirectURL Redirect service for a basic web server where:
- Any URL with
www.Example.com
should go to server with IPv4 numberIPv4 address1192.20.32.4
- Any URL for
example.com
orExample.com
should be replaced with a URL ofwww.Example.com
. - I do not really understand forwarding versus redirecting. What I want is to transform any "example.com" request to a "www.Example.com" request (always using the 'www', and not respecting the naked 'example.com').
- No other services rendered on this server except the web server (and
ping
etc.). So no concern about email servers, FTP servers, etc. - Sites will have TLS securitybe accessed over HTTPS, hence with certificates engaged.
Should it be:
- Type: A Record
- Host: @
- Value: 1192.20.32.4
- TTL: Automatic
- Type: CNAME Record
- Host: www
- Value: example.com
- TTL: Automatic
- Type: URL Redirect Record
- Host: @
- Value: http://www.Example.com/
http://www.Example.com/
Unmasked