Jump to content

can't create subdomains with virtualhost


XRayden

Recommended Posts

i dont know f*** why, this webserver make me crazy.

 

i normaly have no problems with subdomain in virtualhost, but this one is so much fun......

 

i have the website (default) www.borntobestar.tv

i'm trying to ad a simple ads.borntobestar.com so that an OpenX software be installed there.

 

 

so i create a new virtualhost :

<VirtualHost *>
    DocumentRoot "/var/www/ADSERVER"
    ServerName ads.borntobestar.com
<Directory "/var/www/ADSERVER">
    Order allow,deny
    AllowOverride none
    Allow from all
</Directory>
</VirtualHost>

 

then... out, the main site BECOME the virtualhost, www.borntobestar.tv now trie to install openx... wtf ?

 

i dont know why this one is so giving me an headache...

 

i dont know why it tries the last virtualhost, i have an virtual host setted before it that do :

 

<VirtualHost _default_:*>
   DocumentRoot /var/www/html
   DirectoryIndex index.html index.php
   ScriptAlias /cgi-bin/ "/var/www/html/cgi-bin/"
<Directory "/var/www/html/cgi-bin/">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
</Directory>
<Directory "/var/www/html">
    Order allow,deny
    AllowOverride none
    Allow from all
</Directory>
</VirtualHost>

Link to comment
Share on other sites

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.