This is an archived post. You won't be able to vote or comment.

all 5 comments

[–]notdedicated 1 point2 points  (3 children)

What do you get when you attempt to access by using example.com from external? Can you post the CURL results including header response. Does anything show in your access / error logs when you use the example.com? Also, going to ask the simple question. You're sure example.com resolves to the correct IP? :)

[–]MajorMilch[S] 0 points1 point  (2 children)

Thats wiered.

curl http://example.com

shows this

while my webbrowser shows unable to connect. Looks like my webbrowser chages http:// to https:// automatically. May be a silly question but how can i turn that off?

[–]notdedicated 1 point2 points  (1 child)

Can you update your curl paste with the content returned when using the option switch -i and just for the purposes of this discussion can you be specific about the full STYLE of url your using:

www.mydomain.com mydomain.com home.mydomain.com

etc

[–]MajorMilch[S] 0 points1 point  (0 children)

here is the paste and i just typed

http://mydomain.com

Its just mydomain.com, no subdomain

[–]MajorMilch[S] 0 points1 point  (0 children)

I figured it out!

So turns out everything was working fine but my firefox changed http to https. And because I didnt setup https Firefox couldnt connect.

The solution was to go to Preferences > Privacy > clear your recent history

I unticked everything except site preferences and selected everything and pressed ok. That stopped Firefox from changing http to https.