Question to a .com on my dropplet with DNS

  • Posted March 18, 2015
  • DNS

How can i do a redirect My droplet hostname is .nl and i want to redirect my .com name to my .nl How do i set this up in the DNS?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

will see if it works once the domain has been transfered

I tried Options +FollowSymLinks RewriteEngine On RewriteCond %{HTTP_HOST} !^ RewriteRule ^(.*)$$1 [L,R=permanent]

You can’t. The redirect is not done in DNS, but in whatever service you are reaching at that domain. If you wish to make a DNS name resolve to the same IP as another existing name though, in order to implement something else to perform the redirect, you will want a CNAME record.