How to use DigitalOcean Networking for redirect a url to other?

December 2, 2017 9.7k views
DigitalOcean Networking

I register my domain in DigitalOcean Domains and I put the name servers of DO in my domain provider but What settings should I make in DNS Records?

1 Answer
by Mateusz Papiernik
HTTP redirection is a way to point one domain or address to another. There are a few different kinds of redirects (301 Moved Permanently and 302 Found), each of which mean something different to the client browser. You can create a redirect in Apache by adding `Redirect /oldlocation http://www.example.com/newlocation` to the virtual host entry in the server configuration file. This guide will cover a more in depth explanation of how to implement each kind of redirect in Apache.
Have another answer? Share your knowledge.

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