Google
 
 
Home arrow Apache Articles arrow Apache Name Server

Main Menu
 Home
 Linux Articles
 FreeBSD Articles
 Apache Articles
 Perl Articles
 Other Articles
 Program Downloads
 Free Books
 News
 The Web Links
 Contact Us

Most Read
Automating SFTP using expect
FreeBSD PPTP VPN
Shorewall Router on Linux
Shorewall Stand Alone Firewall
SnortShorwall - Using Snort And Shorewall Together

Polls
Favorite Linux/BSD
Fedora
Mandrake
Debian
Slackware
Gentoo
Suse
FreeBSD
Other
  

Syndicate
Latest news direct to your desktop
RSS

Login Form
Username

Password

Remember me
Forgotten your password?
No account yet? Create one

Members Online
 Linux-BSD-Central Has a Total of 139 Members   Members (139) # Online
 We have 3 Guests Online. Guests 3
 We have 0 Users Online. Users 0

Online Users
No Users Online

Statistics
OS: Linux b
PHP: 5.2.5
MySQL: 5.0.45-community-log
Time: 17:22
Members: 139
Hits: 731675
News: 269
WebLinks: 15




Apache Name Server   PDF  Print  E-mail 
Contributed by Chad Brandt  
Thursday, 17 June 2004
Learn how to configure apache for virtual name servers. This will allow you to host many domains on one server

 1 Edit the httpd.conf file:

- Uncomment the following line
NameVirtualHost *

- Add a entry for the virtual host at the bottom of the httpd.conf file

<VirtualHost *>
ServerName www.linux-bsd-central.com
DocumentRoot "/usr/local/www/linux-bsd-central"
</VirtualHost>

<VirtualHost *>
ServerName linux-bsd-central.com
DocumentRoot "/usr/local/www/linux-bsd-central"
</VirtualHost>

restart apache

  

Thats about it. You can add as many virtual servers to apache as you would like.

Comments

Only registered users can write comments.
Please login or register.

Powered by AkoComment 1.0 beta 2!




 
Google Ads