Dr. Reddog
New member
- Joined
- Jul 8, 2023
- Messages
- 3
Hello,
I am running a web server with two IP addresses, and I would like to choose which web sites go on which IP address. Through trial and error, I have found that if I edit /usr/local/directadmin/data/users/admin/httpd.conf, and change the IP addresses in the <VirtualHost> blocks, I can get the desired behavior. However, this file is autogenerated by DirectAdmin, and I would have to edit this file every single time that a domain gets added or removed. Arg! Can anyone recommend a workaround, and how I should do this in a more stable manner in DirectAdmin? A complication is that I have DirectAdmin personal, so I only have a single admin account.
THANK YOU!
Dr. Reddog
I am running a web server with two IP addresses, and I would like to choose which web sites go on which IP address. Through trial and error, I have found that if I edit /usr/local/directadmin/data/users/admin/httpd.conf, and change the IP addresses in the <VirtualHost> blocks, I can get the desired behavior. However, this file is autogenerated by DirectAdmin, and I would have to edit this file every single time that a domain gets added or removed. Arg! Can anyone recommend a workaround, and how I should do this in a more stable manner in DirectAdmin? A complication is that I have DirectAdmin personal, so I only have a single admin account.
THANK YOU!
Dr. Reddog