[SOLVED] The "https://mywebsite.com:10000" is working. But "http://mywebsite.com:80" is not working. It says "Could Not Connect".

Hi! Am new to Virtualin. This is my first post on this forum. Tried installing Virtualmin with various combinations of Operating Systems on DigitalOcean Droplets. Finally the one with Ubuntu 12.4 worked after trying hard for 2 days.

I installed Virtualmin. Went through the initial setup wizard. Tested that setup is OK for Virtualmin to run. Created a Virtual Server. Installed the phpmyadmin and Roundcube scripts.

Uploaded an index.html file to the public_html folder of that virtual machines admin in /home/adminname/public_html/index.html.

The important thing that I must mention here is that the hostname of my Ubuntu Server and the domain-name of the Virtual Server are same. I did this because something somewhere (i dont remember where) was asking for a FQDN as the hostname.

Now when I visit "https://mywebsite.com:10000", then everything works fine of course (That is how did everything on Virtualmin).

But when I visit "http://mywebsite.com" or "https://mywebsite.com", then i get a message on the browser page that says the following:- "Could Not Connect Description: Could not connect to the requested server host."

Now please help me feel that my 2 days did not completely go to waste. Sorry, for being so amateur at this thing.

Am looking forward to your support. Thanks in advance people.

Status: 
Closed (fixed)

Comments

Howdy -- it sounds like either Apache isn't running, or the DNS for your domain isn't pointing back to your server.

What you may want to do is browse to your server's IP address, and see if you can get your server to respond. If so, then you may be seeing a DNS issue.

If not, then Apache may be stopped for some reason.

However, it looks like you're using Virtualmin GPL there. The area here is for Virtualmin Pro customers, along with those who purchase a support incident.

If you're interested in free help, and had any followup questions, I'd encourage you to start up a new Forum thread (accessible using the Forums link above). We monitor the Forums, along with lots of wonderful folks in the community!

Alternatively, if you're interested in using the support tracker here, you're also welcome to purchase a support incident.

Thanks!

I just saw this post:-
https://www.virtualmin.com/node/35601

And then realized that I had activated the SSL feature in the Virtual Server while I had no SSL certificates installed. I disabled the SSL website feature in the Virtual server and voila the test page I uploaded actually worked.

I thought that untill I dont have the SSL certificate the website will still work but of course with a SSL warning in my browser But that wasn't the case.

Please consider the problem solved.

Thank you for your help.

Will explore Virtualmin even further now.

Title: The "https://mywebsite.com:10000" is working. But "http://mywebsite.com:80" is not working. It says "Could Not Connect". » [SOLVED] The "https://mywebsite.com:10000" is working. But "http://mywebsite.com:80" is not working. It says "Could Not Connect".
Status: Active » Fixed