This file is found in the postgres 'data' directory. On a PC, you can edit it with notepad. On a Mac, you might need to use 'vi' to edit the file while acting at the postgres user. You need to change (or add) a subnet range that allows people to access the database from the new IP range and/or remove the old one.
Once the subnet has been changed, you need to reload the postgres configuration. You do this by stopping and restarting the server, or if you are familiar how to do so using pgAdmin interface on the PC or the command line on the Mac, you can do it that way.
The apache httpd.conf file is found in the 'conf' directory of the apache folder. On both Mac and PC, it can be altered by any text editor. Near the bottom is a setting that says:
SetEnv TM_LISTENER_MASK 192.168.0.255,68.145.52.251,127.0.0.1
Change the ip address range here according to the instructions in the conf file.
After, restart apache and test that it works by typing one of the following in a browser on the machine that Apache runs on:
For Mac listeners, there is nothing further to do. On PC networks, you many have to reset some internal DNS entries so that it points to the new computer.
For example: suppose that the setting TM is looking for is https://tickets.myvenue.org but it can't be found by machines inside the network.
|
If the hosts file was edited, and you decide to implement an internal DNS server, you will have to clear the entry out of the hosts file on each computer that it was put on. . |