LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Web Server Help/How to publish webpage? (https://www.linuxquestions.org/questions/linux-networking-3/web-server-help-how-to-publish-webpage-378764/)

fhleung 10-31-2005 06:44 PM

Web Server Help/How to publish webpage?
 
I would like to publish my webpage to let outside world take a look. The reason why I can not get to webpage is unclear at the moment.

I have tried many different things and search similar topics in the forum, I just post what I have done here.

I using Linksys router wrt54g as gateway. I use static IP in the Linksys router. I setup port forward for any requests coming in on port 80(http) and 53(DNS) to be directed to 192.168.1.107(my web server private IP)

Port Range Forward
Application Start End Protocol IP Address Enable
http 80 80 tcp/udp 192.168.1.107 x
dns 53 53 tcp/udp 192.168.1.107 x

Also put the web server private IP (192.168.1.107 ) in DMZ inside router.

If outside machines access my page(http://www.mysite.com), the registered domain points to my dynamic IP account (xxxx.dyndns.org). The account details also set in the gateway router.

I use text browser lynx and I have the following errors:
503 Sevice unavailable

ERROR
The requested URL cound not be retrieved
While trying to retrieve the URL http://xxxx.dyndns.org
The follow error was encountered:
connection failed
They system returned:
(111) connection refused

My domain name is mapped to the private IP(192.168.1.107) and added in /etc/hosts
I can only see the page in local machine but not from outside. The other machines in the LAN can still view the page but have error.

Please help my page can say helloWorld to others. :newbie: :study:

apepost 10-31-2005 07:09 PM

Do you know for sure that your ISP doesn't block incoming connections on port 80?

Have you tried connecting from externally using the ip?

EDIT: typo

gxf 10-31-2005 09:38 PM

for you
 
"My domain name is mapped to the private IP(192.168.1.107)"
it is not right
your domain name should be mapped to the static IP (in the Linksys router)
outside do not see your private IP

gxf 10-31-2005 10:14 PM

"If outside machines access my page(http://www.mysite.com), the registered domain points to my dynamic IP account (xxxx.dyndns.org). The account details also set in the gateway router."

if you have registered a domain, then it must be setted points to your Gateway IP(i.e. linksys that do DNAT).

fhleung 11-02-2005 10:03 PM

Quote:

Do you know for sure that your ISP doesn't block incoming connections on port 80?
My ISP does not block incoming connections on port 80.

fhleung 11-02-2005 11:29 PM

If outside connect to the web, the error is:

503 service unavailable
ERROR
The requested URL cound not be retrieved
While trying to retrieve the URL http://xxxx.dyndns.org
The follow error was encountered:
connection failed
They system returned:
(111) connection refused

Any help would be appreciated.

gxf 11-03-2005 12:35 AM

you can "ping your websit" on outside computer.
see what is the ipaddress receive from DNS (http://xxxx.dyndns.org/).
is the result your static IP .
if no, you try to "telnet your static IP 80" on outside computer, see what....

if it can connected, you input "your static IP " in address bar of IE.

fhleung 09-19-2014 08:42 PM

now my advise is: please use paid hosting service like GoDaddy


All times are GMT -5. The time now is 02:02 PM.