Help please, setting up my own webserver

Started by Bat, Nov 17, 2006, 12:59:15

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Bat

Hi,
I want to do this but have no idea where to start.  ???
Both my sites were created with front page.
I've got my print and file server setup in the corner (XP Pro) and wanted to use that for hosting too.
I've got a router, a fixed ip and 2 independant co.uk domain names if that makes any difference.
Just for personal use, not commercial.
Free would be best, if not very cheap!
Cheers,
Gavin :)

BassoProfundo

1) you need to set up and run Web Server software. I guess Apache is one of the most well-known.
2) you will need to open incoming connections to port 80 on your router and (if you're using NAT), port-map port 80 to your web hosting PC on your network.
3) you will need to change the nameservers on your domains to point to your own IP address (as supplied by IDNet).

Bat

Hi,
You make it sound easy! Is it really that simple?
Is there any particular type of Apache that I need to download?
Cheers,
Gavin :)

monkeysmith

Quote from: BassoProfundo on Nov 17, 2006, 13:17:41
3) you will need to change the nameservers on your domains to point to your own IP address (as supplied by IDNet).

Does that work?

I have a simular setup, have my own nameservers which point to my main hosting, and on their I have manually edited the DNS to forward to my own IP address.

You may find a domain registrar that will host the domain and allow you to configure the DNS entries manually, if so, set the www record to your IP.

Bat

Hi,
Also, can I run 2 or more sites through 1 IP address or do I need one per domain name?
Cheers,
Gavin :)

Bat

#5
Hi,
Update: I've down loaded Apache and installed.
I'm trying to access it via IE on this computer(not the server) if I put in my fixed IP from my isp, I get the login screen for my router. If I put in 10.0.0.126 which is the machines IP it works fine.
I've setup port forwarding as per attachment.
???
Cheers,
Gavin :)

[attachment deleted by admin]

LadFromWales85

Some routers act differently to requests to your public IP from within the LAN.

Some routers don't know what to do with the request, and it gets lost.
Some routers change the route to point directly to your network.
Some routers take you to your router webUI.

Mine routes be directly to my network, so I can use my IP or domain names pointing to my IP, on pc's within the network.  I guess you'll just have to connect to it via its internal IP :(

Bat

Hi,
UPDATE2: It works! Yes it was that easy! If I use the old wind up internet connection and put in my IP address it works!
Phone a friend, they can see it too!
If I've got 2 websites will I need 2 IP addresses from IDNet?
Cheers,
Gavin :)

Lance

Quote from: Bat on Nov 17, 2006, 21:02:05

If I've got 2 websites will I need 2 IP addresses from IDNet?
Cheers,
Gavin :)

i going to guess not, but to be honest i don't know. I would guess that you could set it up on a different port number but i'm bound to be wrong!
Lance
_____

This post reflects my own views, opinions and experience, not those of IDNet.

Danni

You can have more than one website on one IP (on our webserver we have 59 sites on the same ip) but I don't know how to do it without creating new user accounts for each site (on Linux).
IDNet Customer (ex-partner's name): 6th January 2006 - 23rd March 2007
IDNet broadband Customer (my name): 11th June 2008 - 21st April 2010

Now with Be for internets, IDNet for phone.

Zirynx

Quote from: Bat on Nov 17, 2006, 15:48:01
Hi,
Also, can I run 2 or more sites through 1 IP address or do I need one per domain name?
Cheers,
Gavin :)

Take a look here at the Apache general FAQ:

http://httpd.apache.org/docs/1.3/misc/FAQ.html

and here for more specific info on Virtual Hosts

http://httpd.apache.org/docs/1.3/vhosts/

Hope that helps  :)


Bat

Hi,
Thanks for the links. I've set it up, got to test it soon  ::)
Cheers,
Gavin :)