Unable to start my Apache server...

This is a discussion on Unable to start my Apache server... within the Windows Web Servers forums, part of the Web Server and Related Forums category; hi, i am new to use apache...i have plan of hosting a website,.... to have experience i have registered ...


Go Back   Usenet Forums > Web Server and Related Forums > Windows Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-10-2005
Wolf
 
Posts: n/a
Default Unable to start my Apache server...

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 help me on tis my pals....

  #2 (permalink)  
Old 09-29-2005
justlearning
 
Posts: n/a
Default 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 helps...


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 help me on tis my pals....


  #3 (permalink)  
Old 09-29-2005
justlearning
 
Posts: n/a
Default 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 helps...


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 help me on tis my pals....


 


Thread Tools
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

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



All times are GMT +1. The time now is 06:43 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0