Afficher un message
Vieux 29/09/2005, 09h36   #2
justlearning
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Unable to start my Apache server...


I may be wrong! but...

usually a subdomain is something like

subname.domainname.com

so in your httpd.conf file which you will have to stop apache to change
and also rename to httpd.txt for the moment to open in a text editor...
go to the bottom and find


NameVirtualHost * (remove pound sign #)

<VirtualHost *>
ServerAdmin youremail@yourisp.com
ServerName subname.domainname.com:80
ServerAlias *.subname.domainname.com.com subname.domainname.com.com
DocumentRoot /www (your root directory for this domain)
ErrorLog logs/subname.domainname.com.com-error.log
CustomLog logs/subname.domainname.com.com-access.log common
</VirtualHost>


The document root directory may be one you create in your /www
directory as a sub-directory for your subdomain. Some here will name
that folder the same as their subdomain name.

ie...

/www/subdomain.com/ but you can call it what you want as long as you
point to it here correctly.

hope that is correct and s...


now rename your httpd.txt to httpd.conf and start up apache again.


r


Wolf wrote:
> hi,
> i am new to use apache...i have plan of hosting a website,.... to
> have experience i have registered for a free sub domain name....and i
> don't know how to connect to it...plz me on tis my pals....


  Réponse avec citation
 
Page generated in 0,05769 seconds with 9 queries