Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
![Reply](https://www.linuxquestions.org/questions/images/buttons/reply.gif) |
08-13-2003, 02:32 PM
|
#1
|
LQ Newbie
Registered: Aug 2003
Posts: 7
Rep:
|
Router - XP, Server RH9
2all:
This, probably, has been discussed here a million and a half times, but searching archive didn't help me.
I can only access my site by the LAN IP, and not by actual IP.
Example:
myname.com is registred for 24.44.55.66
My router is my XP box, my server is my rh9 standing beside me
if i access myname.com from LAN it won't show unless i access 192.168.0.161
:( I'm bad with words; please help me out.
|
|
|
08-13-2003, 02:37 PM
|
#2
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
That is because your dns name will be pointing to the ip address of the xp machine. You will need to forward port on xp to port 80 on the linux box.
Take a look at AnalogX portmapper
|
|
|
08-15-2003, 01:21 AM
|
#3
|
LQ Newbie
Registered: Aug 2003
Posts: 7
Original Poster
Rep:
|
I do; if I didn't then why would it work computers out of my lan?
I think it's some security problem that i can't access my server by internet IP if the router is XP... or microsoft for that matter.
Last edited by m_simin; 08-15-2003 at 01:23 AM.
|
|
|
08-15-2003, 01:27 PM
|
#4
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
The only machine that has a public ip on the interent is your xp machine - yes? Then you can't access the linux box directly from the net. hence why you need to forward the port. If I have got it wrong it may help if you drew a network diagram.
|
|
|
08-23-2003, 01:59 AM
|
#5
|
LQ Newbie
Registered: Aug 2003
Posts: 7
Original Poster
Rep:
|
Code:
+-----+ +-----+
|Linux| --- connected to |XpBox| --- connected to ADSL
+-----+ +-----+
Linux has a server http://simins.net
XpBox forwards ports 21, 22, and 80 to Linux ![Smilie](https://www.linuxquestions.org/questions/images/smilies/smile.gif)
if from XpBox i type http://Frodo (name of my linux box) it works fine
but if i type http://simins.net i can't get there
P.S.
----
Frodo name has NOTHING to do with the book
|
|
|
08-23-2003, 05:52 AM
|
#6
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
Try using:
http://www.simins.net
If that doesn't work then put this in your hosts file and try again (where 192.168.1.1 is the ip of your server - you'll need to change this):
192.168.1.1 www.simins.net
|
|
|
08-23-2003, 01:24 PM
|
#7
|
LQ Newbie
Registered: Aug 2003
Posts: 7
Original Poster
Rep:
|
yes, http://www.simins.net won't work because.. it's the same thing.
defining auto-redirection from simisn.net to my linux box 192.168.0.161 WILL work... but it's easier to buy an external adsl modem i'd think :-p
Anyway, thank all for the help ![Smilie](https://www.linuxquestions.org/questions/images/smilies/smile.gif)
|
|
|
All times are GMT -5. The time now is 04:12 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|