|
Home > Archive > Web Servers General Talk > August 2005 > How to make sub domains?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
How to make sub domains?
|
|
|
| Hello, I have a server,
I'm just trying out apache and abyss servers,
I'm just wonder how to make sub domains?
Like data.devin.com
instead of devin.com/data
any help would be great | |
| devin 2005-07-31, 10:59 am |
| hello? anyone want to help? man, where is everyone? Isn't this suppose to be webservertalk | |
| AlexanderTheGr 2005-08-29, 6:38 pm |
| Open your httpd.conf
Replace #NameVirtualHost *:80 line to NameVirtualHost *:80 (remove the "#" with simple worlds)
add the follow lines
<VirtualHost *:80>
ServerAdmin data@devin.com
DocumentRoot /var/www/htdocs/data.devin.com
ServerName data.devin.com
ErrorLog /var/log/apache/data.devin.com-error.log
CustomLog /var/log/apache/data.devin.com-access.log combined
</VirtualHost>
restart the apache |
|
|
|
|