xjx424 Posted April 7, 2011 Share Posted April 7, 2011 Hi,I am trying to learn how to add a subdomain in apache. It seems easy enough but I can't get it to work. So far I have added my virtual host <VirtualHost *:80>DirectoryIndex index.phpDocumentRoot "/var/www/taylorprops.com/sub/"ServerName agents.taylorprops.comServerAlias www.agents.taylorprops.com<Directory "/var/www/taylorprops.com/sub/">Options Indexes FollowSymLinks MultiViews +IncludesAllowOverride NoneOrder allow,denyallow from all</Directory></VirtualHost> added this to my hosts file 127.0.0.1 agents.taylorprops.com then pointed the a record to agents.taylorprops.com and *.agents.taylorprops.comthen enabled the siteand restarted apache.What am I missing?Thanks Link to comment Share on other sites More sharing options...
xjx424 Posted April 7, 2011 Author Share Posted April 7, 2011 Nevermind, the a records just weren't resolving yet, my bad Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.