Is hostname domain useable?

5 posts / 0 new
Last post
#1 Tue, 03/10/2015 - 04:38
GeoffGreaves

Is hostname domain useable?

Hi

I have a Virtualmin/Ubuntu server up and running with hostname: server.mydomain.co.uk and nameserver: ns1.mydomain.co.uk & ns2.mydomain.co.uk

mydomain.co.uk does not appear as a virtual server nor can I add it. Is it necessarily a sacrificial domain or am I able to use it for a website, mailing lists etc? If so how?

Thanks for any advice.

Geoff

Tue, 03/10/2015 - 11:04
andreychek

Howdy,

What happens when trying to add "mydomain.co.uk" as a domain name onto your server?

-Eric

Tue, 03/10/2015 - 18:24 (Reply to #2)
GeoffGreaves

When trying to add it from "Create Virtual Server" I get the message:

"Failed to create virtual server : The DNS domain mydomain.co.uk is already hosted by your DNS server"

"Setup DNS zone?" is one of the default "Enabled features" which is something that already exists and I wouldn't want overwritten but I'm loathe to make any more attempts unless I know that it should be possible as I don't want to screw up my system hostname domain!

Cheers, Geoff

Tue, 03/10/2015 - 22:11
andreychek

Howdy,

Sure, if you disable the BIND DNS feature, you'd be able to add that domain... it just means that Virtualmin won't be able to manage the DNS for it.

If you want Virtualmin to be able to manage the DNS, you could first remove the DNS zone that had been manually added, then create the Virtual Server with the DNS feature enabled, and then use Virtualmin to add the DNS records that had previously been in there.

-Eric

Wed, 03/11/2015 - 15:15 (Reply to #4)
GeoffGreaves

Thanks Eric!

I unticked the 'Setup DNS zone?' box and Create Virtual Server ran without error..

I had already added mail, www, & ftp as well as server, ns1 & ns2 to the zone file and was immediately able to ftp in and access the (forbidden message) http page. I then setup a mail forwarder and sent myself an email (sad, I know ;-) so everything appears to be working :-)

Thanks again.

Geoff

Topic locked