Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an option in webadmin to have multiple domains to same ip address #1920

Closed
Neustradamus opened this issue Nov 17, 2019 · 1 comment

Comments

@Neustradamus
Copy link

@Neustradamus Neustradamus commented Nov 17, 2019

I have Zentyal Development Edition 5.1.
I need more DNS domains that link to same address IP.

The Zentyal domain is "bs.lan" and I need set some DNS, for example "gitea.bs.lan" and "site.com" to same ip address (192.168.1.6).

For "gitea.bs.lan" I doesn't have problems: I can add it as new Hostname of "bs.lan" domain of DNS section and set the IP address.
I don't know how to configure "site.com". If I add the new domain "site.com", then I cannot set the same IP address because I have the "The IP '192.168.1.6' is already in 'gitea.bs.lan'" message error.

Linked to:

Solution:

There is a configuration key located in '/etc/zentyal/dns.conf' called 'allow_duplicated_ips' that will allow you to configure the same IP address in multiple domains, you just need to change its value for 'yes' and then, restart the webadmin module running 'sudo zs webadmin restart'.

Linked to:

PS: @brunolorente: Do not close a ticket before a real solution, and please reply us when you contact you.

@Neustradamus

This comment has been minimized.

Copy link
Author

@Neustradamus Neustradamus commented Dec 5, 2019

Thanks @brunolorente for this change!
One problem in less:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.