This happens every time I change it ….. it breaks my site.
I change the workdpress settings to http://www.mackconsult.com/ and it totally breaks my site. Can’t even log into it to make the changes back.
Please help me ……
By manually editing the wp-config.php file I get it back up and running but I still want the domain name to stick when people view my site ….
See Changing_The_Site_URL for details of how to do this.
You will need to move all your files out of the /wordpress directory and then change the site URL using the guide like esmi gave you.
But I want to maintain the wordpress directory or maybe move it to say a mackconsult directory or something so that I can run some other test websites on this server in other folders.
In that case I believe you have two alternatives.
1) Give WordPress it’s own directory http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory
2) Setup a virtual host on Ubuntu so that it can run multiple sites on the same IP (preferred option). This takes a little bit more work but is worth it. I do this on a server running ubuntu as well. Here’s a decent guide: http://blog.code4hire.com/2011/03/setting-up-virtual-hosts-for-apache-on-ubuntu-for-local-development/
I actually already run two sites.
http://www.mackconsult.com/ -> http://24.22.111.106/ -> which is currently running off of \share\web\wordpress
Then I also have
http://race-to-remember.com/ -> http://24.22.111.106/racetoremember/ -> which is currently running off of \share\web\racetoremember
So I have my qnap alread running virtual host ….. I just want to make it so that the the 24.22.111.106 is associated with the domain name.
You need to point http://www.mackconsult.com/ to http://24.22.111.106/wordpress/ via your name servers.
esmi is correct. You said you are forwarding to the IP. You need to create an A record for the root of your domain to point to 24.22.111.106
http://support.godaddy.com/help/article/5289/updating-your-domain-names-ip-address-for-forwarding
Okay I have modified the A record to point to 24.22.111.106
It will take 24 hrs for it to stick though ….