So, I have our dns setup so that the mobile domain, "m.example.com" points to our main domain's (example.com) ip address.
I created a virtual host file in /etc/apache2/sites-available/m.calendarofohio.com
I've tried the following in m.example.com and I've also just tried copying the default and renaming it to m.example.com (changing the domain name)
# Admin email, Server Name (domain name) and any aliases
ServerAdmin webmaster@example.com
ServerName m.example.com
ServerAlias m.example.com
# Index file and Document Root (where the public files are located)
DocumentRoot /var/www
# Custom log file locations
ErrorLog /var/log/apache2/error.log
LogLevel error
CustomLog /var/log/apache2/access.log combined
</VirtualHost>
I've tried installing domain access as well. But so far none of this has worked for our stage directory.
Any suggestions?
Read »








