guyfromfl Posted December 10, 2010 Share Posted December 10, 2010 My girlfriends brother was in a serious crash last friday. I made a website to help get donations to fund his recovery. In the next few days the lawyers are going to release a press release and we want this website to be on the news. I registered http://www.helpcody.com Some times it will load, others will bounce you to a fake page you see when you type a url wrong. Anybody have any ideas? I contacted my DNS (no-ip) and he fixed it but it is now unreliable. I am assuming this is a problem on my server. I added a VirtualHost to httpd.conf: <VirtualHost *.helpcody.com> ServerAlias *.helpcody.com ServerName *.helpcody.com DocumentRoot "/var/www/html/cody/" DirectoryIndex index.php </VirtualHost> Please help! Quote Link to comment https://forums.phpfreaks.com/topic/221264-urgent-help-with-domain-name-and-apache-loads-sometimes/ Share on other sites More sharing options...
trq Posted December 11, 2010 Share Posted December 11, 2010 Your virtual host should be more like..... <VirtualHost *:80> ServerName helpcody.com ServerAlias www.helpcody.com DocumentRoot "/var/www/html/cody/" DirectoryIndex index.php </VirtualHost> You cannot use wildcards within the ServerName or ServerAlias directives. Quote Link to comment https://forums.phpfreaks.com/topic/221264-urgent-help-with-domain-name-and-apache-loads-sometimes/#findComment-1145641 Share on other sites More sharing options...
guyfromfl Posted December 29, 2010 Author Share Posted December 29, 2010 I changed the directives and everything seems to be working correctly. Im sorry it took so long to mark this solved. Its been a rough few weeks. Thanks for the help! Quote Link to comment https://forums.phpfreaks.com/topic/221264-urgent-help-with-domain-name-and-apache-loads-sometimes/#findComment-1152729 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.