Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Can I use two domains with one bind server and one IP address? I have two domains: domainold.com (successfully configured) and domainnew.com.
But every time I try to access domainnew.com, I am redirected to domainold.com instead.
Here is my named.conf.local:
zone "domainold.com" {
type master;
file "/etc/bind/db.domainold.com";
allow-transfer { xxx.xxx.xxx.xxx; };
also-notify { xxx.xxx.xxx.xxx; };
};
zone "domainnew.com" {
type master;
file "/etc/bind/db.domainnew.com";
allow-update { none; };
};
Here is my domainnew.com file:
$TTL 604800
@ IN SOA ns1.domainold.com. admin.domainnew.com. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS ns1.domainold.com.
@ IN NS ns2.domainold.com.
@ IN A 103.121.122.180
;ns1 IN A 103.121.122.180
;ns2 IN A 103.121.122.180
;mx IN A 103.121.122.180
;mail IN A 103.121.122.180
www IN CNAME domainnew.com.
And here is my domainold.com file:
$TTL 604800
@ IN SOA domainold.com. admin.domainold.com. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS ns1.domainold.com.
@ IN NS ns2.domainold.com.
@ IN A xxx.xxx.xxx.xxx
ns1 IN A xxx.xxx.xxx.xxx
ns2 IN A xxx.xxx.xxx.xxx
mx IN A xxx.xxx.xxx.xxx
mail IN A xxx.xxx.xxx.xxx
www IN CNAME domainold.com.
220b5e1380f8416db566e9737f7170
newdoaccount
b1ce657f03b24202bfb1e84d954a18
Rashwan
Rashwan
rozerin.yildiz
bffe20e2d092407798209addeb821c
hanz
Ban Alexandru
Alif