Forwarding site from sitename.com to www.sitename.com
strengthtank said 1 year ago:
I have wordpress intalled in the root of my domain name. Currently the address is xxxxxx.com. I tried setting up forwarding to http://www.xxxxxx.com but now when I go to the site i get a message saying “The website is temporarily unavailabe. Please try again later.”
Am I stuck with the site at xxxxxx.com or is there a way I can keep my wordpress install but have it go to http://www.xxxxxx.com
Thank You.
Nate D said 1 year ago:
@strengthtank – Sounds like you have created an infinite loop that would never make it to your website.
By default domains registered here direct traffic with www to the-same-as non-www. So you are forwarding non-www to a loop back to the same address as non-www. So you would need to remove the CNAME-
Host/Alias: www Points to: @
Then create an A record that directs www traffic to your hosting account-
Host: www Points to: (hosting IP address)
http://support.godaddy.com/help/680/managing-dns-for-your-domain-names
http://support.godaddy.com/help/5232/finding-your-hosting-accounts-ip-address
JustinC said 1 year ago:
@strengthtank
Well, you can do this, but not with forwarding. You’ll need to turn off the forwarding, find your hosting IP, point your domain to it, then setup the URL within WordPress. You’ll need to change the A record that has a host name of @ and make it point to the IP you find.
Finding Your Hosting Account’s IP Address
Managing DNS for Your Domain Names
If you look in your WordPress admin area, you should find a spot where it has the ‘WordPress address (URL) field’. You should be able to just make sure this has the www. That way, when a visitor hits your site they should be taken to the www version and if not, they will be once they click a link.
JustinC said 1 year ago:
@Nate D
That’s a good suggestion too.
@strengthtank
You could actually go either way or both ways. This is one of those things you can do multiple ways and it’s all up to you.
6 min expected wait time