Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue Sep 10, 2013 3:02 pm 
Offline
Senior Member
User avatar

Joined: Thu Jul 12, 2012 3:55 pm
Posts: 133
Website: http://www.amitywebsolutions.co.uk
I have Virtualmin/Webmin installed to manage my servers. I have set the reverse DNS in Linode Dashboard for each of my Linodes to point to the hostname of my servers.

BUT if I go to the non-SSL of my server Webmin URL, I get:-

Error - Bad Request

This web server is running in SSL mode. Try the URL https://xxxxx-xx.members.linode.com:10000/ instead.



Does anyone know how to get this to show the hostname of the server instead of the linode domain? I assume there must be some setting in Webmin somewhere, or some config file, but cant find it!

Thanks

_________________
Web Development Agency in South Wales


Top
   
PostPosted: Wed Sep 11, 2013 2:41 pm 
Offline
Senior Member

Joined: Wed Oct 20, 2010 12:11 pm
Posts: 142
Try setting 'Web server hostname' to 'work out from browser' in ports and addresses.


Top
   
PostPosted: Thu Sep 12, 2013 9:27 am 
Offline
Senior Member
User avatar

Joined: Thu Jul 12, 2012 3:55 pm
Posts: 133
Website: http://www.amitywebsolutions.co.uk
I have fixed it! It was already set to work out from browser. So whatever that setting means, it resulted in the Linode domain being shown. Do you know where this comes from though, why would it know that?

But I can choose my hostname for this setting, so I changed it to the actual hostname and now it works OK, it does not show Linode's hostname when not on SSL.

But I would still be in interested to know why Webmin would offer the linode domain, must be in Webmin somewhere?

Thanks

_________________
Web Development Agency in South Wales


Top
   
PostPosted: Thu Sep 12, 2013 12:01 pm 
Offline
Senior Member

Joined: Wed Mar 03, 2010 2:04 pm
Posts: 111
Stab in the dark here, but any chance you installed Webmin before you changed the rDNS records? Maybe Webmin stored your hostname before you did so.

Webmin -> Networking -> Network Configuration

What does it say under "hostname"?


Top
   
PostPosted: Thu Sep 12, 2013 12:19 pm 
Offline
Senior Member

Joined: Mon Jan 02, 2012 12:45 pm
Posts: 365
Quote:
But I would still be in interested to know why Webmin would offer the linode domain, must be in Webmin somewhere?

amityweb,
The Linode domain was probably created when you used the LAMP stack script to create your Linode and is still in the enabled site list. Webmin may have read it there (especially if it was the only enabled site).


Top
   
PostPosted: Fri Sep 13, 2013 4:31 am 
Offline
Senior Member
User avatar

Joined: Thu Jul 12, 2012 3:55 pm
Posts: 133
Website: http://www.amitywebsolutions.co.uk
The hostname of the servers in Linode are all set to my hostnames, not the linode one. This is why I am confused.

In terms of using a LAMP stack script to create the system... when I created my first Linode I likely chose an OS to install, CentOS. But all my other Linodes are empty Linodes, then I restore the system from the backup on another Linode. This is so I dont have to install anything again. All I do then is change hostname to the new server and the IP addresses in eth0. I think its easier and quicker than creating a new server and configuring it how I want it (I am not to speed on creating my own stacks and using Puppet et al yet!). Anyway, the thing is, when this new Linode is restored, the Linode domain I am referring to is specific to this Linode, it is not copied from the restored one. This is why I thought it was some connection between the reverse IP of the correct hostname, back to the Linode domain. Its as if its not actually Webmin doing it, as Webmin is copied from another system.

If its a webmin issue I could post there, so no worries.

_________________
Web Development Agency in South Wales


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group