I plan to develop a MySQL/PHP website offline. I have both MySQL and PHP installed offline. The MySQL server has hostname 'localhost' but the online MySQL server (which will be used for online website) has host name 'rumpus'.
Can anyone give me the information required to change my offline hostname to 'rumpus' so that I can simulate the online website, offline.
What's giving you problems? The sql hostname or apache? Most likely, it's apache, as sql doesn't (usually) care about your host unless you're trying to connect remotely.
If it's apache, you can edit the configs in httpd.conf to point to that hostname. There's quite a few that need to be edited in there, so make sure you do a thorough job of looking for "hostname" and replacing it.
WHMCS Guru - WHMCS addons, management, support and more. WHMCS Notifications Extended - Add slack, hipchat, SMS, pushover to WHMCS !!
Linux Problems? WHMCS Issues? +1-866-546-8914 (linux-14) or @whmcsguru on twitter!
Ok, changing the drivers/etc/hosts didn't work. Could you give me some details of the config file please. I'm not a natural programmer (other than php) so I might have some difficulty without some help.