Yesterday I bought a new domain name for a site I'm temporarily hosting. I then created an addon domain entry in my cpanel, linking the new domain to the address of the folder where the site's wordpress installation lives.
DNS propagation was pretty quick, so all seemed to be well. But then a short while later I started getting all sorts of weirdness trying to display the site. Domain name working .. not working .. 404 errors .. Same with location address .. Home page not displaying correctly / other pages fine ...... My brain's too confused to remember the details of what happened when, but I do recall being unable to access the admin for a while, before getting it back again.
From reading a few other threads on this forum and also this article, I'm rather suspecting it has something to do with me changing the URLs in admin / settings / general. But I'm rather confused (and I'm not really a geek, even though I've learnt some stuff .. ). I think I left the "WordPress address URL" as the address of the folder that contains the wordpress files for the site in question, and changed the "Site address URL" to the new domain name address. Or I might have changed them both from the wordpress location address to the domain address, before changing the wordpress URL back again. Sorry .. my brain's melting .. ;)
But anyway I think it would really help if someone could clarify for me what I should have in the two URL fields in admin / settings / general, in this case. Also how should I configure the addon domain entry in cpanel? Should I have a "redirects to" address, or do I only need the "document root"?
Hosting address: enoch.x10hosting.com
Main domain: fullofgraceandtruth.net
Location of the site in question: http://www.fullofgraceandtruth.net/holytrinity/ [ or enoch.x10hosting.com/holytrinity/ ]
Addon domain: holytrinityportmelb.org.au