Have domain point to homeserver

0

1

I would like to point a subdomain of mine toy homeserver, which is accessible through my external ip. I've already added an A record and when I use curl it gives me the correct page. But when I visit it via my phone the connection times out. I'm using directadmin. Could I have configured something wrong?

Edit: It does not matter where curl is used. Using it from home or at work gives the same result. I've investigated a bit more and it looks like my problems are being caused by my domain forcing https, because my webserver at home does not have https for testing purposes.

The Dutchman

Posted 2019-07-27T01:37:48.770

Reputation: 1

You don't specify where you are using curl from (i.e. what computer/IP) but if one device is allowed and one is blocked, this may mean that the server is set up to only allow certain connections (designated by IP(s)). So a local address (i.e. your PC) may be allowed but another address (i.e. your phone) may be blocked. – Anaksunaman – 2019-07-30T08:44:57.360

@anaksunaman added an edit. – The Dutchman – 2019-07-31T10:06:06.620

Answers

0

I was using a .dev domain to point to a server without an SSL certificate. Which Google does not like. Appearantly they're forcing SSL/TLS for every .dev domain.

The Dutchman

Posted 2019-07-27T01:37:48.770

Reputation: 1

0

If your curl command works from your LAN then it is possible (probable) that your ISP is blocking port 80 to incoming traffic.

It works on your LAN because the packet goes to your router and then right back to your network, and never reaches your ISP.

ivanivan

Posted 2019-07-27T01:37:48.770

Reputation: 2 634

A friend of mine was also able to use curl from his pc to reach it, but not his browser. – The Dutchman – 2019-07-27T17:46:57.043

@TheDutchman browser configured for proxy, etc. that wouldn't allow reaching it? – ivanivan – 2019-07-27T17:47:45.373

Mine isn't, and I don't think his is either. I can try my work laptop on monday. That one doesn't have a proxy for sure. – The Dutchman – 2019-07-27T21:19:30.717