virtual host
nm got it fix
|
LQ.org really expresses that if you have a question and post it, but find the answer before you get any replies, you should share your solution as this might help other members or people that browse and use our site to find answers to questions that have already been asked.
Regards. |
oh, I didnt want to repost the same question but i'll here it is..
I was trying to get create virtual host / subdomain for my dynamic ip. eg. subdomain.domain.com Just make sure you have your "subdomain" register w/ the dns. Here is my configuration for httpd.conf NameVirtualHost *:80 //Not sure if the first part is needed <VirtualHost *:80> DocumentRoot /var/www/html ServerName domain.com ScriptAlias /cgi-bin/ /var/www/cgi-bin/ </VirtualHost> <VirtualHost *:80> DocumentRoot /home/subdomain ScriptAlias /cgi-bin/ /home/subdomain/cgi-bin/ ServerName subdomain.domain.com </VirtualHost> |
All times are GMT -5. The time now is 01:51 AM. |