Go Back   Computer Forums > General Computing > Server Administration
Join Computer forums Today

Thread Tools Search this Thread Display Modes
Old 07-07-2006, 08:27 AM   #1
Fully Optimized
-Paul-'s Avatar
Join Date: Jun 2005
Posts: 2,242
Send a message via AIM to -Paul- Send a message via MSN to -Paul-
Default Subdomain?

Ok im running apache on my server, and need to know how to make a subdomain, I dont have a control panel...

-Paul- is offline   Reply With Quote
Old 07-09-2006, 09:30 AM   #2
Golden Master
Join Date: Apr 2006
Posts: 7,534
Default Re: Subdomain?

Since you said you don't have a control panel, wouldn't it be easier to download cPanel or something and install it so you can add subdomains?

LA061 is offline   Reply With Quote
Old 07-12-2006, 04:34 AM   #3
Site Team
root's Avatar
Join Date: Mar 2004
Posts: 7,872
Default Re: Subdomain?

you can add subdomains in apache by editing the httpd.conf file.

at the end of the file there is a space for adding virtual domains

you simple have to add a virtual domain, there is information on this in the apache manual,

basically at the end of the httpd.conf file al you have to add are the following lines.

<VirtualHost *>

ServerName subdomain.mydomain.com
ServerAlias subdomain.mydomain.com
DocumentRoot path\to\files\on\your\server
I didn’t fight my way to the top of the food chain to be a vegetarian…
Im sick of people saying 'dont waste paper'. If trees wanted to live, they'd all carry guns.
"The inherent vice of capitalism is the unequal sharing of blessings; The inherent vice of socialism is the equal sharing of miseries."
root is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

All times are GMT -5. The time now is 10:05 PM.

Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0