943,974 Members | Top Members by Rank

  • Networking Discussion Thread
  • Unsolved
  • Views: 9653
  • Networking RSS
You are currently viewing page 2 of this multi-page discussion thread; Jump to the first page
Aug 20th, 2006
0

Re: help hosting website from home.

Hmmm I suppose the httpd.conf in windows systems can be edit directly from a few clicks of the mouse on the programs menu, Look for Apache HTTP Server Menu group, and Locate Configure Apache Server then Edit Apache httpd.conf Configuration file.

I would assume that is the easiest way to go. If you wrote down the configuration setting while you installed apache. I believe the Installer asked you where you wanted to place the Apache Files. If you did, you should find the httpd.conf in the conf folder under Apache2 (if you are using httpd 2 server).

Just like what i've told said initially, before going any further in installing Apache, you should try IIS first, that will lessen your trouble. Once you are sure the forwarding works. then you can proceed on installing Apache or any web Server you liked.

Trouble shoot one problem at a time, installing Apache while resolving the portforwarding issue might simply give you a headache.

cheers
Reputation Points: 10
Solved Threads: 0
Light Poster
dhundee is offline Offline
33 posts
since Jul 2006
Aug 20th, 2006
0

Re: help hosting website from home.

I resolved the port forwarding problem, HTTP traffic is now forwarded to the server. I can't try IIS as I don't have xp pro, or 2000, actually I have windows server software, so I'll give it a try.

alos, I've heard something about virtual servers, so you can host more than one site on a server, how does this work?
Reputation Points: 175
Solved Threads: 15
Nearly a Posting Virtuoso
TheNNS is offline Offline
1,455 posts
since Jul 2006
Aug 20th, 2006
0

Re: help hosting website from home.

Yes you can host multiple websites on a single server, or IP.

What webserver are you currently using? Apache?

your virtual host on Apache should look something like these

<VirtualHost *:80>
ServerAdmin theserveradmin@domain.com
DocumentRoot /path/to/document/root
ServerName www.yoursite.com
.....
.....
...
</VirtualHost>


Notice that i didn't include the ErrorLog and CustomLog arguments...

You can duplicate that entry to satisfy multiple virtual hosted domains... just change the DocumentRoot under that with your site location, and the ServerName with the sites address... e.g. www.yoursite.com

btw, if you are using a windows server... you can replace the /path/to/document/root with a windows filepath... e.g. C:/domains/www.yoursite.com/wwwroot/

or C:/www.mysite.com

although I often suggest you put all your sites in one folder e.g. domains... for easy management...


you may also replace the asterisk at the <VirtualHost *:80> with your domain name, although i like it that way for simplicity.

I think If you check on your httpd.conf there is a sample at the bottom of the page.

good luck!
Last edited by dhundee; Aug 20th, 2006 at 3:08 pm.
Reputation Points: 10
Solved Threads: 0
Light Poster
dhundee is offline Offline
33 posts
since Jul 2006
Aug 20th, 2006
0

Re: help hosting website from home.

Wow, that is a lot of info, maybe more than what I can handle, thanks for the help though. I'll check back if I have anymore questions.
Reputation Points: 175
Solved Threads: 15
Nearly a Posting Virtuoso
TheNNS is offline Offline
1,455 posts
since Jul 2006
Aug 20th, 2006
0

Re: help hosting website from home.

Quote originally posted by TheNNS ...
Wow, that is a lot of info, maybe more than what I can handle, thanks for the help though. I'll check back if I have anymore questions.
You should've googled it first; there's lots more on it out there. First hit:
http://httpd.apache.org/docs/1.3/vhosts/
Team Colleague
Reputation Points: 2240
Solved Threads: 338
Vampirical Lurker
John A is offline Offline
5,055 posts
since Apr 2006
Aug 21st, 2006
0

Re: help hosting website from home.

Quote originally posted by joeprogrammer ...
You should've googled it first
The reason why I don't google first is because it takes me to forums like these, so I get to ask smart people like you, and then I actually get the answear that I was looking for.
Reputation Points: 175
Solved Threads: 15
Nearly a Posting Virtuoso
TheNNS is offline Offline
1,455 posts
since Jul 2006
Aug 21st, 2006
0

Re: help hosting website from home.

I Agree. I do that sometimes too. google tend to send too many sources and sometimes It takes longer reading all these documents and you end up reading a not working example. lol. anyway what ever applies to you. it's all okay as long as you find what you need.
Reputation Points: 10
Solved Threads: 0
Light Poster
dhundee is offline Offline
33 posts
since Jul 2006
Aug 21st, 2006
0

Re: help hosting website from home.

Quote ...
The reason why I don't google first is because it takes me to forums like these
Oh, really?
Quote ...
so I get to ask smart people like you
Who said I was smart? I just use Google lots
(Well, actually it's a little bit more than that)
Team Colleague
Reputation Points: 2240
Solved Threads: 338
Vampirical Lurker
John A is offline Offline
5,055 posts
since Apr 2006
Aug 21st, 2006
0

Re: help hosting website from home.

Quote originally posted by joeprogrammer ...

Who said I was smart?
Ok, fine, you're not smart, you're just gifted and talented at googleing.

Status report(I just had to copy proliant_fan from his post.
I am installing windows 2003 server as I type this.
Next I'll go ahead and install apache and have a friend try to access the index.hmtl file.
Reputation Points: 175
Solved Threads: 15
Nearly a Posting Virtuoso
TheNNS is offline Offline
1,455 posts
since Jul 2006
Aug 21st, 2006
0

Re: help hosting website from home.

Status Report:

I've successfully instaleld windows 2003 server, and apache 2. I tested to see if I could see the page and it works. Now I just need to edit that file and make a real website.
Reputation Points: 175
Solved Threads: 15
Nearly a Posting Virtuoso
TheNNS is offline Offline
1,455 posts
since Jul 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Networking Forum Timeline: Network Cable Unplugged?
Next Thread in Networking Forum Timeline: wireless ICS





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC