Logo 
Search:

Unix / Linux / Ubuntu Answers

Ask Question   UnAnswered
Home » Forum » Unix / Linux / Ubuntu       RSS Feeds
  on Dec 06 In Unix / Linux / Ubuntu Category.

  
Question Answered By: Adah Miller   on Dec 06

Ok, this is what we've done.

In httpd.conf created:
<VirtualHost ">
ServerName dursk
DocumentRoot /home/dursk/www
</VirtualHost>

<VirtualHost ">
ServerName localhost
DocumentRoot /home/dursk/www
</VirtualHost>

In the hosts file:
127.0.0.1 localhost
127.0.0.1 localhost.localdomain
127.0.0.1 dursk

127.0.1.1 NOX #not sure what this is.

When you go to localhost is shows he defaut apache "It Works" from
/var/www.

The hostname of the computer is dursk.

Share: 

 

This Question has 7 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on virtual host questions Or get search suggestion and latest updates.


Tagged: