Notifications
Clear all

"Welcome to Nginx" landing page issue

23 Posts
2 Users
0 Reactions
81 Views
(@Anonymous 610)
Eminent Member
Joined: 6 years ago
Posts: 23
Topic starter  

I've completed all the steps found on this page  https://vpsfix.com/4937/install-virtualmin-nginx-php-mysql-ubuntu/. But when I go to sendy.mydomain.com it shows a "Welcome to Nginx" page. Alternatively, when I go to sendy.mydomain.com:10000 it is a blank page. Is there something on top on what I've done to that I need to do?


   
Quote
Tharindu
(@tharindu)
Reputable Member Admin
Joined: 10 years ago
Posts: 309
 

Did you add your domain to Virtualmin? And are you using Cloudflare or any kind of proxy?


   
ReplyQuote
(@Anonymous 610)
Eminent Member
Joined: 6 years ago
Posts: 23
Topic starter  

I have set up an AWS server running ubuntu 16.04, this occurred when setting up virtualmin. So I am unable to login to Virtualmin to set up my domain. My process so far: Created AWS server (ubuntu 16.04) I've associated an Elastic IP to the server (set up my DNS record accordingly) , updated ubuntu on the server, configured ubuntu host files for Virtualmin.  After I installed Virtualmin on my server I run into the "welcome to nginx" issue on my chosen sub-domain. 


   
ReplyQuote
Tharindu
(@tharindu)
Reputable Member Admin
Joined: 10 years ago
Posts: 309
 

It's normal to see the default nginx page if you haven't add a domain in Virtualmin. In fact it's a good thing. Shows nginx is installed and working.

Setting up Virtualmin on AWS has few extra steps. You need to open port 10000 on your security group. I think you don't have it open. This is why you're not able to open Virtualmin. Virtualmin listen on port 10000 and your security group may be blocking it.

And after that make sure to enable root login and password login on your ec2 instance.

 


   
ReplyQuote
(@Anonymous 610)
Eminent Member
Joined: 6 years ago
Posts: 23
Topic starter  

I have opened port 10000 on a custom TCP rule with the correct source, I've also enabled root login and password according to those instructions beforehand, as you instruct in that link. 


   
ReplyQuote
Tharindu
(@tharindu)
Reputable Member Admin
Joined: 10 years ago
Posts: 309
 

Okay. Please run,

sudo service webmin status

and see if Virtulamin is running.


   
ReplyQuote
(@Anonymous 610)
Eminent Member
Joined: 6 years ago
Posts: 23
Topic starter  

under active : Active (running)

perhaps of interest:

systemd[1]: Starting LSB: web-based adminis

Jul 08 05:50:01 sendy.mydomain.com perl[1403]: pam_unix(webmin:auth): authenti

Jul 08 05:50:03 sendy.mydomain.com webmin[1403]: Webmin starting

Jul 08 05:50:04 sendy.mydomain.com systemd[1]: Started LSB: web-based administ

lines 1-15/15 (END)


   
ReplyQuote
Tharindu
(@tharindu)
Reputable Member Admin
Joined: 10 years ago
Posts: 309
 

What's the output of,

netstat -a | grep webmin

   
ReplyQuote
(@Anonymous 610)
Eminent Member
Joined: 6 years ago
Posts: 23
Topic starter  

tcp        0      0 *:webmin                *:*                     LISTEN     

tcp6       0      0 [::]:webmin             [::]:*                  LISTEN 


   
ReplyQuote
Tharindu
(@tharindu)
Reputable Member Admin
Joined: 10 years ago
Posts: 309
 

That looks fine. Can you give me a screenshot of your EC2 security group. Ideally a one with all inbound rules visible.


   
ReplyQuote
(@Anonymous 610)
Eminent Member
Joined: 6 years ago
Posts: 23
Topic starter  

Here you go.


   
ReplyQuote
Tharindu
(@tharindu)
Reputable Member Admin
Joined: 10 years ago
Posts: 309
 

That looks fine too. See if ufw is active. 

sudo service ufw status

If it's not active, try opening Virtualmin with IP address instead of your subdomain. See if it works.


   
ReplyQuote
(@Anonymous 610)
Eminent Member
Joined: 6 years ago
Posts: 23
Topic starter  

It is active. The IP address brings up the "Welcome to Nginx" Page also, myip:10000 is a blank page (but I can't right click or anything).


   
ReplyQuote
Tharindu
(@tharindu)
Reputable Member Admin
Joined: 10 years ago
Posts: 309
 

Did you run that command and saw ufw active?


   
ReplyQuote
(@Anonymous 610)
Eminent Member
Joined: 6 years ago
Posts: 23
Topic starter  

I tried putting ipadresss:10000 in a firefox browser instead of chrome, and I got this :

Error - Document follows

This web server is running in SSL mode. Try the URL private-DNS-of-ec2-instance:10000 instead.

and that link leads (see image attached)

 

 


   
ReplyQuote
Page 1 / 2
Share:
Back to top button