Assigning servername to a local ip in apache/ubuntu

view full story

http://askubuntu.com – I have a apache server running on ubuntu 10.04. i wanted to give the server a name. so i added a name called sdk in /etc/apache/sites-available/sdk with the following VirtualHost *:80> ServerAdmin webmaster@localhost ServerName sdk.sat ServerAlias *.sdk.sat DocumentRoot /var/www <Directory /var/www> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all </Directory> ErrorLog /var/log/apache2/error.log # Possible values include: debug, info, notice, warn, error (HowTos)