PDA

View Full Version : Silly "problem"



mishkin
11-03-05, 13:40
Right, bought a new adsl-router (Got tired of the old one not working when NAT was enabled) and now I have got a little "problem" on my hands...

I've mapped the port that my web-server uses, but for some reason, I can't see the webpage on http://morphed.zapto.org/ (It's an automatically indexed directory) from any computer on my LAN... I can however access it from my phone, which makes me wonder... why? ´

I know I can use the internal lan-address to access it, but shouldn't I be able to use the global address as well? :wtf: Is there something I'm missing, please, enlighten me :) (It's an amazing router tbh, half the size of my last one, and I don't need the hub I was using before so it takes up like 1/5 of the space it used to :D ) Everything else works fine, but there's just this little tiny thing... Help! :D

//edit - Oh, and can you tell me, do you see my sig? It's hosted on the webserver, but I can't see it... :rolleyes:

netster
11-03-05, 13:47
try to add a default starting page .. most times : index.htm / index.html / default.htm / default.html

edit : found it : http://www.webthang.co.uk/tuts/tuts_server/abyss/abyss.asp

--snipp--7/ Now click “Advanced” and you should get a screen like the one below.

Click on “Server Parameters” and then “Add” at the bottom of the screen.
In “Index File” type in “default.asp” and click “OK”
You should see that “default.asp” has been inserted into the index files.
--snapp--

than default.asp is your starting page ....

mishkin
11-03-05, 13:50
try to add a default starting page .. most times : index.htm / index.html / default.htm / default.html

You're getting me wrong I think... It's not the fact that the server won't show me the page, it's the fact that I can't access anything on the server from any computer on my LAN using the external address http://morphed.zapto.org/ ... I need to know if there's anything I can do about this by changing any settings on the router or summat else... or if I have to live with it :rolleyes:

netster
11-03-05, 13:58
ahhh sry, my bad ... u want to access the server from internal lan ....
you're typing in http://192.168.0.1 (your router ip) or the one your server is (like http://192.168.0.45 or something) ... than your router picks up your request to early and doesnt forward it to your webserver ..... you may try to add a rule for it i think.
any name/brand/productname of your router pls :)

Skusty
11-03-05, 15:29
Mish, your silly! :p J/K!

jernau
11-03-05, 15:46
Most routers won't allow you to do that as it would involve routing the packets from the internal interface to the external and then back to the internal without going via the WAN connection.

You could add an lmhosts reference on your machine if you wanted to bypass the router entirely or you may be able to set a static route in the router to loopback into your network though this may mean using the CLI interface on the router.


/edit - yes I can see your sig.

/edit 2 - if you bypass the router and are using NAT you may also have to configure the web server to respond to the external IP as it may not do this automatically.

Bugs Gunny
11-03-05, 15:54
check the host headers of your website in inetmgr.
Add another one, for instance test.yourdomain.org

mishkin
12-03-05, 03:34
you may be able to set a static route in the router to loopback into your network

Nope, didn't work...


if you bypass the router and are using NAT you may also have to configure the web server to respond to the external IP as it may not do this automatically

Now you lost me :p

Just seems it won't let me do it, but since everyone else can access it, I guess it's really a minor problem. I'll just use the internal ip whenever I need to (It's static now, so I can remember it at least :D )

Port-forwarding is weird, and some stuff doesn't work as it says in the manual it should. I should be able to set a One-to-one rule using a set internal ip and a dynamic global ip, but it just tells me the ip is wrong when it's set to 0.0.0.0 as described in the manual... :rolleyes:

jernau
12-03-05, 03:41
The manual is probably just using that as a (rather silly) example as that's not normally a routable IP (it's reserved for "unknown").

mishkin
12-03-05, 13:39
Nope, it says if I want to use one global dynamic ip, to enter 0.0.0.0 :wtf:

Yelly
12-03-05, 14:16
If you want to use the name then you must add it to host file in both the
webserver and in your comp.
Ohter way is to use a proxy server for http