Forums

Create blog does not create subdomain (18 posts)

  1. seanzyville
    Member
    Posted 11 months ago #

    Hi,

    I clicked the create blog menu and typed the blog domain name -> models.modelsorg.com

    The blog link was created but when you click the domain it says "Address Not Found"

    I have WPMU/BP 2.6.5 installed.

    I hope you can help me resolve this problem.

    www.modelsorg.com

  2. andrea_r
    Member
    Posted 11 months ago #

    You didn't follow all the directions in the readme.

    MU works on *wildcard* subdomains. this means you have to change a setting in Apache on the server, so anysubdomain.atyourdomain.com goes to MU.

  3. marcolav
    Member
    Posted 5 months ago #

    I think he is saying that the subdomains are not even CREATED, which is the same issue I am having any idea anybody?

  4. andrea_r
    Member
    Posted 5 months ago #

    Same thing. WPMU does not create subdomains. The name lives in the database.

    The server works its magic through *wildcard* subdomains. these need to be set up both through Apache and the DNS records. Not MU.

    Not doing either of these things results in that error.

  5. marcolav
    Member
    Posted 5 months ago #

    NameVirtualHost *:80
    <VirtualHost *:80>
    ServerAdmin webmaster@bloggingforex.net
    DocumentRoot /www/docs/bloggingforex.net
    ServerName bloggingforex.net
    ErrorLog logs/blogginforex.net.com-error_log
    CustomLog logs/bloggingforex.net-access_log common
    ServerAlias *.bloggingforex.net
    </VirtualHost>

    is what I have in my httpd.conf , but still not working----

    Marco

  6. andrea_r
    Member
    Posted 5 months ago #

    ServerAlias bloggingforex.net *.bloggingforex.net

    is what it should read.

    Did you add a wildcard subdomain in your DNS records as well?

  7. marcolav
    Member
    Posted 5 months ago #

    the DNS is taken care of, just a question (I am not a tech) this is on a dedicated machine with several domains, do I change the individual site http.include file??

    Thx

    marco

  8. marcolav
    Member
    Posted 5 months ago #

    not sure if it could have any relevance, but I am on a machine with plesk, any idea?

  9. andrea_r
    Member
    Posted 5 months ago #

    "do I change the individual site http.include file?"

    Yes, because that is where that domain's information is.

  10. marcolav
    Member
    Posted 5 months ago #

    not sure if this is asking too much... but could I send you the file , as I really can't understand how to go about it?

  11. marcolav
    Member
    Posted 5 months ago #

    btw I checked the database and cannot seem to find any of the created subdomains, shouldn't they be there somewhere?

  12. andrea_r
    Member
    Posted 5 months ago #

    I only volunteer answers here, not work. :)

    Ask your host?

  13. marcolav
    Member
    Posted 5 months ago #

    I did, all they could tell me was that I should change DNS...

    Below is my httpd.include, just in case....;o)

    <VirtualHost 69.64.85.155:80>
    ServerName bloggingforex.net:80
    ServerAlias www.bloggingforex.net
    UseCanonicalName Off
    ServerAdmin "promoter@arrakis.es"
    DocumentRoot /var/www/vhosts/bloggingforex.net/httpdocs
    CustomLog /var/www/vhosts/bloggingforex.net/statistics/logs/access_log plesklog
    ErrorLog /var/www/vhosts/bloggingforex.net/statistics/logs/error_log
    <IfModule mod_userdir.c>
    UserDir /var/www/vhosts/bloggingforex.net/web_users
    </IfModule>
    Alias /plesk-stat /var/www/vhosts/bloggingforex.net/statistics/
    <Location /plesk-stat/>
    Options +Indexes
    </Location>
    <Location /plesk-stat/logs/>
    Require valid-user
    </Location>
    Alias /webstat /var/www/vhosts/bloggingforex.net/statistics/webstat
    Alias /webstat-ssl /var/www/vhosts/bloggingforex.net/statistics/webstat-ssl
    Alias /ftpstat /var/www/vhosts/bloggingforex.net/statistics/ftpstat
    Alias /anon_ftpstat /var/www/vhosts/bloggingforex.net/statistics/anon_ftpstat
    Alias /awstats-icon /var/www/html/awstats/icon
    <IfModule mod_ssl.c>
    SSLEngine off
    </IfModule>
    <Directory /var/www/vhosts/bloggingforex.net/httpdocs>
    <IfModule sapi_apache2.c>
    php_admin_flag engine on
    php_admin_flag safe_mode off
    php_admin_value open_basedir "/var/www/vhosts/bloggingforex.net/httpdocs:/tmp"
    </IfModule>
    <IfModule mod_php5.c>
    php_admin_flag engine on
    php_admin_flag safe_mode off
    php_admin_value open_basedir "/var/www/vhosts/bloggingforex.net/httpdocs:/tmp"
    </IfModule>
    Options -Includes -ExecCGI
    </Directory>
    <Directory /var/www/vhosts/bloggingforex.net/web_users>
    <IfModule sapi_apache2.c>
    php_admin_flag engine off
    </IfModule>
    <IfModule mod_php5.c>
    php_admin_flag engine off
    </IfModule>
    </Directory>
    </VirtualHost>

  14. andrea_r
    Member
    Posted 5 months ago #

    And what do your DNS records look like?

    In the httpd above, you don't have the line in there that I said you needed.

  15. marcolav
    Member
    Posted 5 months ago #

    The DNS is ok, subdomains are now being created ok, the problem is that plesk handles this via a vhost.conf, I found the solution here
    http://rackerhacker.com/2007/08/10/using-wildcard-subdomains-in-plesk/

    Thanks for your help!

    Marco

  16. cafespain
    Member
    Posted 5 months ago #

    You do realise that the answer given in the link you provided is the SAME answer andrea_r gave you earlier on in this post don't you....

    ServerAlias *.domain.com

  17. marcolav
    Member
    Posted 5 months ago #

    You do realise that the answer given in the link you provided is the SAME answer andrea_r gave you earlier on in this post don't you....

    ServerAlias *.domain.com

    Well no it is not, since the change is NOT to be applied to the httpd.conf as it was suggested rather to a vhost.conf file, and this is because of plesk so there is no need to jump in a thread just to tell me I am an idiot thanks

    Marco

  18. pfuller
    Member
    Posted 2 months ago #

    I am having the same problems so I will see if I can figure it oiut and post a soloution (assuming I figure this out)

    I appreciate the responses from those who seem to know the solution, my only suggestion is rather than writing short answers that requires non-technical people to know what the heck you are talking about actually post the solution in detail, ie Step 1, Step 2 etc

Reply

You must log in to post.

About this Topic