Hi,
I am newbie here, so, I have domain question.
debian + virtualmin, when i created servers in virtualmin I assigned 3 different IPs to 3 different servers. I did the same at VPS hosting website, I created DNS zones.
for example:
mysite1.com has IP 5.220.100.101
mysite2.com has IP 5.220.100.102
mysite3.com has IP 5.220.100.103
so, it is OK in virtualmin and VPS hosting site, but when I created wordpress sites, all 3 got the same IP: 5.220.100.101, it means if I try to type
http://5.220.100.102/~mysite2.com
I don't get anything,
now I visited domain website and I understood I can not change A input to IP 5.220.100.102 than I must use for all 3 sites the same basic IP: 5.220.100.101
I saw the whole problem when i wanted to change IP at domain register. I logged in and I must add only basic IP.
by the way, all 3 wordpress websites are created in
/home/mysite1.com/public_html
/home/mysite2.com/public_html
/home/mysite3.com/public_html
it means virtualmin created users as I wanted, but how to give them different IPs? in virtualmin it is different but not in reality.
for example in Virtualmin - server configuration - dns records:
mysite2.com A - IPv4 Address 5.220.100.102
at virtualmin server mysite3.com is also: mysite3.com A - IPv4 Address 5.220.100.103
but in reality it is working only if I type in web browser: 5.220.100.101/~mysite2.com
so, how to assign second IP to /home/mysite2.com?
I said to friend to buy 3 IP dresses but now I don't know how to set it up for him, to have separated IP for each domain/wordpress site. in wordpress admin backend is also written basic address: 5.220.100.101/~mysite2.com
I had to install wordpress like that before I change IP at domain register (I migrate sites for him, it is all OK except I don't know how to assign 3 different IPs).
additional information:
I checked now and /var/lib/bind/mysite2.com.hosts and everything is OK, there is assigned IP, 5.220.100.102, and not basic IP.
it is also correct for mysite3.com, 5.220.100.103.
I checked and /etc/apache2/sites-available/
it is OK: <VirtualHost 5.220.100.102:80 then there is IPv6address:80