Web Servers General Talk - How to make sub domains?

This is Interesting: Free IT Magazines  
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?
devin

2005-07-28, 2:20 am

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
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com