Unable to host website on PTCL

Hello,

I have a website hosted on IIS 7 Windows Server 2008 R2

Inside LAN my website is working fine, other computers can access it using my local IP Address, but if I try to access it using my public IP Address I am unable to access it.

I have done port forwading correctly,

I have disabled Windows/Modem firewall

But still site cannot be accessed using Publich IP.

If anyone ever done this please help.

p.s. : Im using PTCL DSL

Thanks

You should have static ip address OR use dynamic dns if want to save money

Sent from my HUAWEI G700-U10 using Tapatalk

[quote=", post:2, topic:21038"]

You should have static ip address OR use dynamic dns if want to save money Sent from my HUAWEI G700-U10 using Tapatalk

[/quote]

Yes I have dynamic IP but I dont turn off my modem hence my ip remains same, so having dynamic ip should not effect now

And don't tell me that you are not facing any loadshedding too :o

Sent from my HUAWEI G700-U10 using Tapatalk

It is not about whether your IP remains same or not, it is about getting a static IP service from PTCL, because website hosting is only allowed by PTCL if you subscribe to Static IP service. (Rs. 300 pm and Rs. 500 activation IIRC).

His ip is also dynamic. One cannot get same ip on ptcl always.

Sent from my HUAWEI G700-U10 using Tapatalk

Unless subscribed for static ip

Sent from my HUAWEI G700-U10 using Tapatalk

why dont you buy some web hosting and put your website on live server?

[quote=", post:4, topic:21038"]

And don't tell me that you are not facing any loadshedding too :o Sent from my HUAWEI G700-U10 using Tapatalk

[/quote]

Have you ever heard abou UPS ? which keeps thing on when electricity goes ??

Normally I get IP address which remains same for atleast a week , don't know about your line conditions

[quote=“SupMA5TER, post:5, topic:21038”]

It is not about whether your IP remains same or not, it is about getting a static IP service from PTCL, because website hosting is only allowed by PTCL if you subscribe to Static IP service. (Rs. 300 pm and Rs. 500 activation IIRC).

[/quote]

Yes you are right PTCL block web hosting for those who have dynamic IP to be precise they block port 80 incomming traffic, but I'm using port other than port 80... so it should Work

Which port are you using then, and how exactly are you accessing your site from the outside? There are a few ports blocked by PTCL on dynamic IPs some of which include 25, 53, and 110 besides 80.

I used port 3892 which I select random

Accessing your WAN IP from your browser within LAN will simply try to access the router, in other words, port forwarding will not occur at all, instead the router will try to 'answer' you query itself. Therefore, try using an online proxy to see if your webserver is accessible from the outside or not.

For example, try going to http://123data.net and enter http://:3892 to check if your server is accessible or not.

[quote=“SupMA5TER, post:12, topic:21038”]

Accessing your WAN IP from your browser within LAN will simply try to access the router, in other words, port forwarding will not occur at all, instead the router will try to 'answer' you query itself. Therefore, try using an online proxy to see if your webserver is accessible from the outside or not.

For example, try going to http://123data.net and enter http://:3892 to check if your server is accessible or not.

[/quote]

it says

The requested resource could not be loaded because the server returned an error:

400 Bad Request (?).

I also check my port on canyouseeme.org and the status there is Success

Well that seems like some missing configuration with your webserver itself. My best guess is it is not configured properly for default domain or something like that. The error shows that the request did reach your webserver from the outside but it just couldn't understand it properly.

Probably ptcl blocking http requests on all ports.

Sent from my HUAWEI G700-U10 using Tapatalk

^No, I just fired up my installed webserver and it is accessible perfectly from outside

[quote=“SupMA5TER, post:16, topic:21038”]

^No, I just fired up my installed webserver and it is accessible perfectly from outside

[/quote]

Are you using IIS ? if so whats the version ?

And what is your IP Address range ?

He must be using wamp/xamp (i assume). He might be right that you have some misconfiguration

Sent from my HUAWEI G700-U10 using Tapatalk

Make sure you have set the server to respond to every domain name request, and from every interface and IP. Only then it will properly respond to ip based urls. My IP address range is usually 39.41.x.x

Solved it,

The Problem was with the port, I changed it to some higher number 59823 and it worked, no misconfiguration on IIS