I am currently managing my own website e.g. www.example.com
which is working fine and now would like to host another domain (e.g. www.someotherexample.com
) on the same machine running Ubuntu Server 12.04 LTS.
I looked this up via google search and found that I need something like name-based virtual hosts.
So I made some changes in my apache2 httpd.conf by adding the following:
Then, saved it and restart my apache2.
I got the following error message when trying to open the page http://www.someotherexample.com
You don't have permission to access / on this server
I have checked the file permission of the directory myothersite and they are apache:nogroup
I'm at a loss - I don't know what to do.
Any help would be greatly appreciated.