#1. hostname in rc.conf
ee /etc/rc.conf
#2. comment existing entry hostname and add this line
hostname="acme.com"
#3. save and edit on hosts
ee /etc/host
#4. append this line
127.0.0.1 acme acme.com
192.168.184.132 acme acme.com
#5. save and edit on resolve.conf
ee /etc/resolv.conf
#6. comment existing entry search and add this line
search com
#7. save and edit on httpdconf for phpldapadmin
ee
#8. find ServerName www.example.com:80
ctrl+y
ServerName www.example.com:80
#9. press enter and add line
ServerName acme.com:80
#10. save and restart
init 6
No comments:
Post a Comment