Problem
I would like to change the system/host name, domian name or IP address of my SCO OpenServer 6.0.0 server. How can I do this?
Solution
The solution that follows assumes that you have Maintenance Pack 4 or later applied to your system. This solution does not cover changes that may need to be made to 3rd party software products.
To change the System Name, Domain or IP Address on your SCO OpenServer 6.0.0 system, log into the server as the root user and do the following:
1) Use uname(C) to change the system name to the new name. For example, to change the system name to foobar run:
# uname -S foobar2) Run the Network Configuration Manager (netconfig) and do the following:
- Highlight the TCP/IP protocol- Select Protocol -> Modify protocol configuration...
- Enter the new Domain Name and IP Address, save the changes and exit from the Manager.
3) Using your favourite editor, edit the /etc/hosts file and make sure that old server name and IP address are removed and that the new name and IP are correct.
Please Note that you can also use the SCOadmin Network Client Manager to update your /etc/hosts file.
4) Using your favourite editor, edit /etc/resolv.conf (if you have configured the server as a DNS client) and change the Domain Name.
Please Note that you can also use the SCOadmin Network Client Manager to update your /etc/hosts file.
5) If you are using sendmail(ADMN) then run the command:
# mkdev cfto change the Domain name, Machine Name and Alternate host names.
6) If you are using mmdf(ADM) instead of sendmail(ADMN) run the command:
# mkdev mmdfto change the old System Name and Domain Name to the new values.
7) If your server is configured as a DNS server then we recommend that you build a new configuration to include the new system name, domain name and IP address information.
8) If your server has MicroLite BackupEdge installed then we recommend that you export your current BackupEdge settings, remove and reinstall the software and then re-import your BackupEdge settings.
9) Check to make sure that the old server name is not explicitly mentioned in any Apache configuration files in the directory:
/usr/lib/docview/confand if it is please change the file references to the new system name.
10) Reboot your server