Hi, I have installed lamp stack on centos for my domain1.com. Now I have created virtualhost for domain2.com. At first domain1 was pointing to the starting page of "apache ", but after I created virtual host for domain2.com and created a new file index.php, domain1.com is pointing to the same index.php for domain2.com.
Please help how to get the domain1.com “apache page” or how to proceed so that both the domains are pointing to their respective root directory.
Thanks in advance
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!