Answer the question
In order to leave comments, you need to log in
CentOS how to specify subdomain from another server?
Good time of the day!
You need to add a subdomain that will actually be located on another server.
i.e .:
site.com // ip1
sub.site.com // ip2
VirtualHost *:80
ServerName sub.site.com
ServerAlias site.com
DocumentRoot ip2
/VirtualHost
sudo apachectl restart
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question