Question

Set domain to the VPS

  • Posted April 5, 2014

I am trying to migrate the wordpress blog to VPS. Right now it about to access with the IP address but with the domain name it display error as “This webpage has a redirect loop” I have add Virtual host follow this article https://www.digitalocean.com/community/articles/how-to-migrate-wordpress-from-shared-hosting-to-a-cloud-server-with-zero-downtime

But I also add the domain in the DNS session as I want to set the google mail mx record.

Below this is an Zone file $TTL 1800 @ IN SOA NS1.DIGITALOCEAN.COM. hostmaster.umesmile.com. ( 1396671182 ; last update: 2014-04-05 04:13:02 UTC 3600 ; refresh 900 ; retry 1209600 ; expire 1800 ; ttl ) IN NS NS1.DIGITALOCEAN.COM. NS NS2.DIGITALOCEAN.COM. NS NS3.DIGITALOCEAN.COM. MX 1 ASPMX.L.GOOGLE.COM. MX 5 ALT1.ASPMX.L.GOOGLE.COM. MX 5 ALT2.ASPMX.L.GOOGLE.COM. MX 10 ASPMX2.GOOGLEMAIL.COM. MX 10 ASPMX3.GOOGLEMAIL.COM. @ IN A 107.170.75.15

Subscribe
Share

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.

Done, I fixed this by remove below from VirtualHost <br><VirtualHost *:80> <br> ServerName www.yourdomain.com <br> Redirect permanent / http://yourdomain.com/ <br></VirtualHost> <br>