Setting up a host domains in CentOS

Asked By 30 points N/A Posted on -
qa-featured

 

Experts! I need urgent help. How do I make host domains in CentOS? My first time, could someone give me a workaround procedure on this. I will really appreciate it guys. Thanks.

 

 

SHARE
Best Answer by Well Erskine
Answered By 0 points N/A #198273

Setting up a host domains in CentOS

qa-featured
  • Add the hostname entry to /etc/hosts. Use the format detailed here.

  • If your hostname is "your_hostname", type hostname your_hostname at a command prompt to make the change effective.

  • Define the hostname in /etc/sysconfig/network to make these settings consistent across reboots.

  • Reboot the system or restart services that depend on hostname (cups, syslog, apache, sendmail, etc.)

Best Answer
Best Answer
Answered By 0 points N/A #198275

Setting up a host domains in CentOS

qa-featured

Hello,

I think you can follow the steps in this link http://dev.antoinesolutions.com/apache-server/virtual-host. I think this is the easiest way to make host domains in CentOS.

After all, you know that CentOS is perfect for enterprise operations. Hopefully, you will be satisfied after viewing this tutorial. If you have any other problems, just knock me.

Have a nice day!

Related Questions