I poked around and it seems simple enough to do. Below are a few posts that describe this:
It seems easy enough to change. Once I get my test server up and running I’ll go in and change the domain name in the config.php file to make sure I’m not going to break anything. I’m sure it will be fine, but better safe than sorry.
A bigger problem we’re having is Mac Servers run something called Performance Cache on port 80 (aka the default web port) and Apache on port 16080. What’s annoying about this is that (if you let it) all your web pages will end up pointing to port 16080…a complete pain. This article on the Mac OS X Server 10 talks about this Performance Cache, Apache, and the ports.
One way to resolve the port 16080 issue is to turn off Performance Cache. Below are instructions for doing this on Server 10.4.11:
- open Server Admin
- click Web in the list of services
- click Sites in the tab list at the top of the screen
- choose the site in your list which is constantly showing port 16080 in web addresses and click the pencil button at the bottom of the window to edit the site.
- click Options in the tab list at the top of the screen
- uncheck the box next to Performance Cache
Again once I get my test server, I’m going to have to poke around and make sure that I don’t need to change anything in Apache as well. I did notice that Apache on a Mac makes use of .conf files (stored in /etc/httpd/sites) for each of the websites it creates. Within each of those files you’ll see the <VirtualHost> tags and info that Apache people are used to. I’m assuming that Mac’s Server Admin tool will update these files for me, but you know what they say about assuming. I did find this one forum post that suggests I may need to go in and change those conf files myself. We shall see….