Jump to content

Apache settings


photoworks
 Share

Recommended Posts

:unsure:

 

where on apache can i change the settings in order to access to my server from both local and outside ?

 

currently, when i type http://pwks.no-ip.org/ from my machine it does not work. i have to type http://localhost/

 

from another computer, by entering the http://www.pwks.no-ip.org/ i have no problem accessing the server.

 

Does anyone have an idea how to fix that issue ????

 

:help:

:unsure:

Link to comment
Share on other sites

I think this is a NAT issue. I don't know exactly why but I know that this is not an apache specific thing if you can access the server from an xy pc with no problem. Somewhere I read that you can't access your server's WAN IP from your LAN.

Link to comment
Share on other sites

I think this is a NAT issue. I don't know exactly why but I know that this is not an apache specific thing if you can access the server from an xy pc with no problem. Somewhere I read that you can't access your server's WAN IP from your LAN.

 

that depends on your router really... (some, probably cheaper ones, don't like forwaring the packet that has come from inside the network back inside the network using the port forwarding rules.)

 

photoworks, a cheap trick to make it work would be to edit the /etc/hosts file, adding pwks.no-ip.org after localhost on the 127.0.0.1 line.

Edited by fissy
Link to comment
Share on other sites

I think this is a NAT issue. I don't know exactly why but I know that this is not an apache specific thing if you can access the server from an xy pc with no problem. Somewhere I read that you can't access your server's WAN IP from your LAN.

 

that depends on your router really... (some, probably cheaper ones, don't like forwaring the packet that has come from inside the network back inside the network using the port forwarding rules.)

 

photoworks, a cheap trick to make it work would be to edit the /etc/hosts file, adding pwks.no-ip.org after localhost on the 127.0.0.1 line.

 

:thanks:

 

i edited the files and now it works fine, i can have access to my server by entering my address : http://pwks.no-ip.org/

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...