Page 1 of 1
add ip address for website
Posted: Mon 17. Jul 2023, 18:07
by stephan-ipt
hi
i don't use zones DNS
i want add different ip address for domain
toto.com use for web and email ip address XX.XX.XX.XX
tata.com use for web and email ip address YY.YY.YY.YY
it's possible ? i don't find where i can add ip address and how to attribute ip address to domain
thanks
stephan
Re: add ip address for website
Posted: Tue 18. Jul 2023, 10:06
by Florian
Hallo,
no it is not possible. Keyhelp configures the domains on all IPs.
Re: add ip address for website
Posted: Tue 18. Jul 2023, 10:25
by stephan-ipt
thanks
what is the solution ?
if i use zones DNS it's not possible to attribute IP XX.XX.XX.XX for my domain toto.com and IP YY.YY.YY.YY for my domain tata.com
stéphan
Re: add ip address for website
Posted: Tue 18. Jul 2023, 10:49
by Florian
Hallo,
it is simply not necessary to configure different domains to different IPs.
And why it should not be possible to use differnet IP in the DNS? You shoudl ask your DNS provider how you can do this
Re: add ip address for website
Posted: Tue 18. Jul 2023, 10:58
by stephan-ipt
sorry i think my english is not good
i want to send emailing from keyhelp with 2 domains and each domain have diferrent address IP
yes i configure in OVH
myserverkeyhelp ip 1.2.3.4 mac : zzzzzzzzz
toto.com ip XX.XX.XX.XX mac : zzzzzzzzz
tata.com ip YY.YY.YY.YY mac : zzzzzzzzz
but in keyhelp how to add ip XXX.XX and YY.YY and asign to domains
Re: add ip address for website [SOLVED]
Posted: Tue 18. Jul 2023, 11:06
by Florian
Again: You cannot assign a domain to a certain IP. The domains are configured to all IPs that exist on the server. If you want a separation by IPs, you have to do it in the DNS
The mails are always sent via the first IP except you use smpt_bind_address in the main.cf of Postfix.
Re: add ip address for website
Posted: Tue 18. Jul 2023, 11:13
by stephan-ipt
ok i understand
you say : all IPs that exist on the server
but where i add other ip
i have only ip when i install keyhelp
Re: add ip address for website
Posted: Tue 18. Jul 2023, 11:16
by Florian
Hallo,
you must configure the IP in the network configuration of your system. /etc/network/interfaces on Debian or /etc/netplan/01-netcfg.yaml on Ubuntu.
Afterwards you go to Configuration -> IP addresses in Keyhelp and activate it.
Re: add ip address for website
Posted: Tue 18. Jul 2023, 11:23
by stephan-ipt
ok thanks