7 Replies - 2130 Views - Last Post: 17 August 2010 - 09:52 AM

#1 ethereal1m  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 3
  • View blog
  • Posts: 214
  • Joined: 30-June 09

[ask]Need Advice to Setup Home Based Webserver

Posted 06 August 2010 - 01:39 AM

Dear all,
I try to setup a home-based webserver and need some advice to accomplish it.

Suppose I have an Apache server on XP windows, a domain, and a no-ip hosts (since I have dynamic IP address). What I do:

1. The hardware configuration:
internet <--> modem <--> router <--> server
where the server resides in local subnet.

2. Suppose the hostname is ethereal1m.no-ip.org (which is assigned by no-ip) and attach it to my domain, which is www.ethereal.com

3. Configure Apache virtual host www.ethereal.com and set the server name to it.

The problem is when I ping www.ethereal.com, I get nothing, I thought the domain needs some time to attach to the host.

So in the Apache, I change the virtual host configuration from www.ethereal1m.com to ethereal1m.no-ip.org just to see if this works. I can ping ethereal1m.no-ip,org just fine, but the when I try to browse to it, it doesn't work.

Could anybody point me which part that I do wrong, this is my first time configuring a home based webserver.

Regards,
ethereal1m

Is This A Good Question/Topic? 0
  • +

Replies To: [ask]Need Advice to Setup Home Based Webserver

#2 DeCompile  Icon User is offline

  • D.I.C Regular

Reputation: 19
  • View blog
  • Posts: 301
  • Joined: 20-July 08

Re: [ask]Need Advice to Setup Home Based Webserver

Posted 06 August 2010 - 03:51 AM

This could be as simple as port forwarding port 80 to your server or the Windows Firewall being enabled on this computer.

You may want to run a dns lookup on that url to make sure that it's pointing to your static ip address.

The usual configuration is:

Internet -> Modem / Router / Firewall -> Web Server

Where the modem / router / firewall is forwarding port 80 to the IP address of your web server.

This post has been edited by DeCompile: 06 August 2010 - 03:52 AM

Was This Post Helpful? 1
  • +
  • -

#3 no2pencil  Icon User is offline

  • Toubabo Koomi
  • member icon

Reputation: 5224
  • View blog
  • Posts: 26,990
  • Joined: 10-May 07

Re: [ask]Need Advice to Setup Home Based Webserver

Posted 06 August 2010 - 05:37 AM

View Postethereal1m, on 06 August 2010 - 02:39 AM, said:

The problem is when I ping www.ethereal.com, I get nothing, I thought the domain needs some time to attach to the host.

You need a DNS service, this can be ran on your server or you can sign up for a free one. Then update the nameserver address on your domain register account (where you registered ethereal.com) to point to your no-ip account. If ethereal.com does not resolve to an ip address, then the users browser doesn't know where to request the (port 80) traffic from.
Was This Post Helpful? 1
  • +
  • -

#4 ethereal1m  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 3
  • View blog
  • Posts: 214
  • Joined: 30-June 09

Re: [ask]Need Advice to Setup Home Based Webserver

Posted 07 August 2010 - 02:38 AM

Ok,thanks for the response,
I am more confuse about the LAN setup in my home.

Before I setup the server, I have a router (TL-WR741N) that manages my LAN and WAN (where the internet comes into). I'm not sure if I setup the router correctly, but I'm able to configure only 1 subnet in the LAN.

I use DNS server from no-ip.com to broadcast my dynamic IP address (WAN) that is assigned by my provider.

Questions:
1. The server is in LAN subnet, how can I configure it so that it can be accessed by internet? In no-ip guidelines it mentions about port forwarding but I don't know how to set it up.

2. I'm using virtual host in Apache server configuration, what should I put the server name? If my domain is ethereal1m.no-ip.org, should I put that in my server name?

regards,
etheral1m
Was This Post Helpful? 0
  • +
  • -

#5 DeCompile  Icon User is offline

  • D.I.C Regular

Reputation: 19
  • View blog
  • Posts: 301
  • Joined: 20-July 08

Re: [ask]Need Advice to Setup Home Based Webserver

Posted 07 August 2010 - 04:59 AM

In your modem there should be a section called 'Port Forwarding' or 'Virtual Server'

This is where you configure your modem to forward all port 80 requests to your apache server.

In your apache server, you want to configure it for it's external dns name eg. ethereal1m.no-ip.org.
Was This Post Helpful? 1
  • +
  • -

#6 no2pencil  Icon User is offline

  • Toubabo Koomi
  • member icon

Reputation: 5224
  • View blog
  • Posts: 26,990
  • Joined: 10-May 07

Re: [ask]Need Advice to Setup Home Based Webserver

Posted 07 August 2010 - 06:40 PM

View PostDeCompile, on 07 August 2010 - 05:59 AM, said:

In your modem there should be a section called 'Port Forwarding' or 'Virtual Server'

I believe you mean router. Modems don't usually route traffic.
Was This Post Helpful? 1
  • +
  • -

#7 ethereal1m  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 3
  • View blog
  • Posts: 214
  • Joined: 30-June 09

Re: [ask]Need Advice to Setup Home Based Webserver

Posted 10 August 2010 - 11:54 PM

Ok, this works, thanks you guys! :^:
Was This Post Helpful? 0
  • +
  • -

#8 dayv2005  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 06-May 09

Re: [ask]Need Advice to Setup Home Based Webserver

Posted 17 August 2010 - 09:52 AM

I am doing the same thing at the moment. For the server section of your question here is a nice how to on setting up a dedicated web server at home and for free.

http://net.tutsplus....erver-for-free/

Hope this helps out.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1