LAMP Server cannot enable subdomain
-
I have a LAMP server running in my basement, also i have a domain from namecheap. I am trying to install Multisite with subdomain, but cannot get it work, my subdomain kdb.example.com kept going to my primary site which is example.com. Can someone tell me what i did wrong? thanks
1) i have a wildcard created on namecheap, it is an A record direct *.example.com to my server public IP address
2) I have created a new file calls catchall.conf under /etc/apache2/sites-available, but i still have 000-default there. and here is what i put into the file
<VirtualHost *> ServerName example.com ServerAlias *.example.com VirtualDocumentRoot /var/www/html UseCanonicalName off <Directory /var/www/html> AllowOverride All Options -MultiViews Allow from all </Directory> </VirtualHost>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘LAMP Server cannot enable subdomain’ is closed to new replies.