| Author |
Topic Search Topic Options
|
iSec
Senior Member
Joined: 13 February 2005
Status: Offline
Points: 1140
|
Post Options
Thanks(0)
Quote Reply
Topic: Need help with hosting web Applications Posted: 02 September 2005 at 8:40am |
|
I've purchased and installed Windows Server 2003 on my machine. Now I need to know how to host web applications so that my workstation serves as a hosting provider for my own stuff. Does anyone know how to go about doing that? Thanks.
|
|
"When it gets dark enough, you can see the stars"
-Charles A. Beard
|
 |
huwnet
Senior Member
Joined: 30 May 2003
Location: England
Status: Offline
Points: 1375
|
Post Options
Thanks(0)
Quote Reply
Posted: 02 September 2005 at 9:03am |
|
First you need to make sure you have a static IP. If you have a router you need to forward port 80 to the correct internal IP address.
Then you need to buy a name. I recommend Godaddy. When you domain is registered point the A record to your static IP.
You will need to add some extra dns and port forwarding for e-mail to work
Edited by huwnet - 02 September 2005 at 9:04am
|
 |
iSec
Senior Member
Joined: 13 February 2005
Status: Offline
Points: 1140
|
Post Options
Thanks(0)
Quote Reply
Posted: 02 September 2005 at 11:40am |
Sounds helpful. I already have 4 domains registered and ready to go and I do have a static IP.
You mentioned that I need to add some extra DNS and port fowarding, is that done via the Internet Protocol TCP/IP properties window or how? Thanks.
|
|
"When it gets dark enough, you can see the stars"
-Charles A. Beard
|
 |
Scratch
Groupie
Joined: 11 March 2005
Location: United States
Status: Offline
Points: 38
|
Post Options
Thanks(0)
Quote Reply
Posted: 02 September 2005 at 1:19pm |
huwnet wrote:
Then you need to buy a name. I recommend Godaddy. When you domain is registered point the A record to your static IP.
|
GoDaddy.com is excellent. They are easy to use and very professional. But make sure that the email addresses you use for domain registration are ONLY used for domain registration. That's because, despite GoDaddy's and your best efforts, you're going to get spammed on those addresses, so it's helpful to keep them seperated.
At all costs, stay away from any service offered by Network Solutions. Besides openly selling your email address, they've been known to "drop" registrations because of a typo in your personal info, and you'll suddenly find that your domain belongs to somone else...
|
 |
iSec
Senior Member
Joined: 13 February 2005
Status: Offline
Points: 1140
|
Post Options
Thanks(0)
Quote Reply
Posted: 02 September 2005 at 1:57pm |
huwnet, your answer was short, yet very helpful. I have succesfully hosted web pages on my own PC after following the steps you provided.
How do I prevent them from doing that? I know for a fact that I can place an empty index.html file in any folder and when that folder is accessed the viewer would go directly to that page, which is empty. But you know, I have another partition that has like 100 folders mostly music and softwares and it is a hassle to go into every folder and place an index page.
|
|
"When it gets dark enough, you can see the stars"
-Charles A. Beard
|
 |
huwnet
Senior Member
Joined: 30 May 2003
Location: England
Status: Offline
Points: 1375
|
Post Options
Thanks(0)
Quote Reply
Posted: 02 September 2005 at 4:34pm |
|
That should not be occuring.
I assume that you are running IIS because you are on Server 2003.
The default configuration does not allow access to hard drive folders like you have mentioned so you must have changed your configuration a bit.
The default www root folder for IIS is: C:\inetpub\wwwroot.
If you set that to the default root web folder in the IIS settings and put all your web files in their people will not be able to acces the rest of your drive.
|
 |
iSec
Senior Member
Joined: 13 February 2005
Status: Offline
Points: 1140
|
Post Options
Thanks(0)
Quote Reply
Posted: 02 September 2005 at 10:15pm |
|
That's good news. I have not changed the configuration but I was just assuming that other files are accessable. Now if I had more than one website how do I host it on the same wwwroot folder?
|
|
"When it gets dark enough, you can see the stars"
-Charles A. Beard
|
 |
huwnet
Senior Member
Joined: 30 May 2003
Location: England
Status: Offline
Points: 1375
|
Post Options
Thanks(0)
Quote Reply
Posted: 03 September 2005 at 6:08am |
|
There are two methods for doing this:
1) The least common but easiest method is simply to host it on a different port and then include the port in the dns. However this doesnt work on certain pcs with firewalls and wont be indexed by Google.
2)Enable host headers. In each web site go to properties. In the web site tab press advanced, choose the standard ip and press edit. In the host header value put in your domain name for site1. Do the same for site2 but insert your other domain.
Had to write this in a rush so it probably isnt very clear.
|
 |