Jump to content

URGENT! Help with Domain name and apache loads sometimes


guyfromfl

Recommended Posts

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!

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 3 weeks later...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.