[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Setting up server

Posted on 2004-04-11
4
Medium Priority
?
440 Views
Last Modified: 2010-03-04
Hello


Im trying to setup a webserver at home.
I have read an online tutorial found at:
http://thewishs.com/Web_Work/Dynamic_IPs/.
Its good for newbies such as myself, but does not cover everything.

My problem is that I cant get it to work.
What have I done so far?


My ISP uses static IP, therefore I use Zoneedit.com.
They gave me two nameservers which I should
login and enter at for example goddaddy.com (or whereever the domain namne was bought)
I have done that more than 72 hours ago.

Then, still at zoneedit.com, I set my IP for that domain.
That will be the IP that www.whatismyip.com is showing me (external)

The thing is, that im using a D-link DI-604 to share the ADSL connection with
altogheter three computers. (One webserver)
When I view the settings for my router I can see that all three connected PCs
have their own IP number. Do they (IP) only exist in my "network"?


My server computer is running winXP and as webserver I use Apache.
In Apache I have set port 80 (default).
When I try localhost in the browser I get my test page working
(Classic "Hello world"). So, I guess the server is running!

In the router setting I have opened port 80 for incoming traffic.
I know that there is a lot of steps involved here, but any tip
is welcome.
There are three Pcs connected to the router and I have set the IP.
That is the external IP. From here, how do I "find" my server, which the router has
given another IP for?

By the way, I have searched for some tutorial which covers this. (without success)
Do you know any good tutorial which covers this at a newbie level, please post a link.


Im sorry for the low level question, but the only way to learn is to
deal with it, right???

Thanks / Martin




0
Comment
Question by:martinsmith34
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 1

Expert Comment

by:uecasm
ID: 10804248
You will probably need to do two things (both in your router configuration) to get this to work:

  1. Make your router always give your server computer the same IP address, rather than dynamically assigning it.  This should be in either your DNS or DHCP settings on the router.

  2. Set up a NAPT/NAT entry in your router linking external IP 0.0.0.0 (or whatever your router uses to represent the standard external IP) port 80 to internal port 80 on your server's IP.
0
 
LVL 2

Accepted Solution

by:
tcmv earned 80 total points
ID: 10810168
The feature you should be looking for in your router is called port forwarding ... meaning any incoming traffic on port 80 gets forwarded to a specific internal IP address.  And you need to set your  windows xp machine to NOT use dhcp.  Take the router out of the loop altogether for that.  Specifiy your IP address, gateway, subnet mask, and DNS server entries in the control panel -> network connections ...  Whatever you specify that address to be, make that the same IP address that port 80 is forwarded to.  The DLink router probably has a simple web interface for setting that up.

Hope that helps...
-tcmv
www.mvix.net
0
 
LVL 1

Expert Comment

by:uecasm
ID: 10812284
That's one way to do it.  Or you can just reconfigure the DHCP on the router as I previously suggested.  Set up a permanent client assignment for your server computer, and that way it'll always be assigned the same IP.  The exact method for this varies.  On my router you just go to the DHCP configuration page, copy the client ID (the MAC address, long series of hex bytes), then create a new entry in the preassigned group and put in that same ID.  Then just give it a really long lease time and you're set (for some routers, leave the lease time blank).

Port forwarding is just another name for NAT/NAPT.

Just do whichever approach seems easiest to you; they both should work.
0
 

Author Comment

by:martinsmith34
ID: 10817361
I hope you are not too much in it for the points.
Not even 7 per person. (I will give it by random)


However, I have spent hours to make this work. (By now, not a newbie any more???)
Yes, port forwarding is what im looking for.
At first it didnt help much.
I called my ISP and I called D-Link support.
The D-Link guy told me to turn off the built in firewall in XP.
Like magic, I have my very own webserver waiting for its first attack.

Hmmm, I didnt now that the built in firewall was enabeld by default.
Now I know........................


If you live in the northern hemisphere, it will soon be summer.
Have a great one, and thanks for the effort....


CIAO



0

Featured Post

What’s Wrong with Your Cloud Strategy ?

Even as many CIOs are embracing a cloud-first strategy, the reality is that moving to the cloud is a lengthy process and the end-state is likely to be a blend of multiple clouds—public and private. Learn why multicloud solutions matter in this webinar by Nimble Storage.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my time as an SEO for the last 2 years and in the questions I have assisted with on here I have always seen the need to redirect from non-www urls to their www versions. For instance redirecting http://domain.com (http://domain.com) to http…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Suggested Courses
Course of the Month14 days, 15 hours left to enroll

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question