Multisite subdomain doesn't work after i add new (32 posts)

  1. ekara
    Posted 5 years ago #


    My host company is Justhost, After I add a new site to network subdomain of site doesn't work.

    Here what I did step by step:

    - I bought a new domain name lets say its ab123.com
    - Added that new a.com domain to my old b123.com domain's public_html folder from CPanel.
    - Installed WordPress manually ro root folder (public_html)
    - Added necessary code in config file included network engine.
    - Created my network, selected subdomain option and added necessary codes to htaccess file and config file.
    - Relogged to panel
    - I can see Super Admin part in Admin panel
    - I went to Websites and added new site test.abc123.com and I can see it in websites. In list its there.
    - I have received e-mail and details.
    Until here everything OK

    My main page works but When I enter to test.abc123.com subdomain site there is not such an address. It looks like didn't create the subdomain.

    I am sure I didn't do anything wrong at steps. But It's not working.

    Also my htaccess file:

    # -FrontPage-
    IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
    <Limit GET POST>
    order deny,allow
    deny from all
    allow from all
    <Limit PUT DELETE>
    order deny,allow
    deny from all
    AuthName b123.com
    AuthUserFile /home/b/public_html/_vti_pvt/service.pwd
    AuthGroupFile /home/b/public_html/_vti_pvt/service.grp
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule . index.php [L]

    How can I fix this issue?


  2. ekara
    Posted 5 years ago #

    + I forgot to say that I have created blogs.dir directory with 755 permission under wp-content

  3. ekara
    Posted 5 years ago #

    one more update,

    Forwarded subdomain * .ab123.com to public_html via Cpanel

    still doesnt work

  4. Wildcard subdomains are normally set for the root domain on your web account. Not for add-on domains.

    If you switched the main domain, the host also needs to switch things on their end, so the wildcard subdomain record in Apache (where you can;t get to) can also be changed.

  5. ekara
    Posted 5 years ago #

    Thanks for answer Andrea.
    But what things?
    What can I do to fix this? I can ask to hosting company change stuff but I don't know what should I ask them.

    Could you be more specific please? Then I ll write to my hosting company for changes.


  6. Ask them what domain the wildcard subdomain is set for, and tell them the new domain you want it to work on.

  7. lukeradl
    Posted 5 years ago #

    I'm having this same problem, but my domain never changed. What could be wrong?

  8. Ask your host if wildcard subdomains are set.

  9. mrcherry
    Posted 5 years ago #

    this is the same problem i am having and have been having for a couple or months, i checked with my host (justhost) and they confirmed the wildcard subdomain is set correctly on the root domain. Any ideas n e 1???

    thanks in advance

  10. is your installation in the root domain? Did you ad the wildcard dns record? Can you leave a link so we can ping it

  11. mrcherry
    Posted 5 years ago #

    my install is in the root http://mrcherry.co.uk , i added wildcard dns . Everything was working perfectly and then i suddenly went wrong

    thankyou andrea

  12. http://foobar.mrcherry.co.uk/ doesn't seem to work at all.

    Did you point wildcard DNS to your public_html folder?

  13. Doing a ping or an nslookup on your domain still says the wildcards aren't set up. Talk to your host. if it was working and suddenly not, and you didn't do anything... then it's them.

    And yes, even a routine update on the server may have wiped out the Apache record.

  14. mrcherry
    Posted 5 years ago #

    The wildcard subdomain *.mrcherry.co.uk has been properly recreated and pointed to your public_html/
    > But you should note that domain mrcherry.co.uk points to 3rd party nameservers, and that is the exact place where the A record for subdomain * should be added, please contact support of ns and ns2.hosteurope.com ans ask them to add wildcard subdomain record

    this is the response from just host

    the domain name is at 123-reg and just host is my server. i have a cname record pointing to my domain so i wonder if what he is saying is correct ??

  15. mrcherry
    Posted 5 years ago #

    ive just tried to create a subdomain through my cpanel but i get the same result as when i do it virtually via wordpress

    i am certain it is a server side problem but it seems i may need help to diagnose it and baby-feed them the solution.

  16. mrcherry
    Posted 5 years ago #

    the resulting page also notes that it is a dns error
    Sorry, the page you were looking for cannot be found

    The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
    Error: (DNS), click the back button to try another link.

  17. I'll put it this way. If what you have is NOT working, try the A name.

  18. mrcherry
    Posted 5 years ago #

    i tried to set up a subdomain test.mrcherry.co.uk but it failed i submitted a ticket to just host; this is their reply

    Hi Leon,

    I checked once again your subdomain
    Here is the problem:
    whois test.mrcherry.co.uk

    Error for "test.mrcherry.co.uk".

    This domain cannot be registered because it contravenes the Nominet UK
    naming rules. The reason is:
    the domain name contains too many parts.

    WHOIS lookup made at 03:03:06 13-Jun-2011
    Seems according Nominet rules .co.uk domains have own rules for itself
    So, you should create subdomian test.mrcherry.co.uk at your ns.123-reg.co.uk registrar and point it to our IP (as you did with domain name)
    Or you should point the domain to our nameservers. In this case all your subdomains (created on our server) will work properly

    im not sure about this but im goin to try changing my name servers and see what happens, although i cant see why it would break when i worked before ??

  19. lukeradl
    Posted 5 years ago #

    My host said they configured it, but now every subdomain goes to webmail. Did they do something wrong or is there something on my end that might be causing this?

    My CNAME entry points to the root and as far as I know everything is configured ok for the Network.

  20. lukeradl
    Posted 5 years ago #

    Oh, I'm on Plesk 9.5 if that helps.

  21. They need to switch the order of the wildcard subdomain and the webmail subdomain. yes, it's their fault.

    also, plesk has some fun issues with wldcard subs.

  22. mrcherry
    Posted 5 years ago #

    to anyone suffering like myself, believe it or not i fixed the problem.

    the .htaccess was corrupted and could not be read

    so i deleted it created a new one and TADA

    hope this helps

  23. lukeradl
    Posted 5 years ago #

    Thanks for the help. My host sent me this:

    I've checked, and everything has been set as in the provided link.

    The atmail and horde conf files have been renamed:
    [root@dds conf.d]# ls -al
    total 108
    drwxr-xr-x 2 root root 4096 Jun 14 16:24 .
    drwxr-xr-x 4 root root 4096 Nov 7 2007 ..
    -rw-r--r-- 1 root root 56 Nov 7 2007 bw.conf
    -rw-r--r-- 1 root root 425 Sep 30 2010 fcgid.conf
    -rw-r--r-- 1 root root 56 Jun 4 2009 jk.conf
    -rw-r--r-- 1 root mailman 688 May 24 2008 mailman.conf
    -rw-r--r-- 1 root root 1796 Apr 22 2005 perl.conf
    -rw-r--r-- 1 root root 93 Dec 8 2010 php_cgi.conf
    -rw-r--r-- 1 root root 674 Aug 12 2010 php.conf
    -rw-r--r-- 1 root root 566 Aug 30 2010 proxy_ajp.conf
    -rw-r--r-- 1 root root 1671 Jan 6 2007 python.conf
    -rw-r--r-- 1 root root 392 Aug 30 2010 README
    -rw-r--r-- 1 root root 9677 Aug 30 2010 ssl.conf
    -rw-r--r-- 1 root root 352 Jan 8 2007 webalizer.conf
    -rw-r--r-- 1 root root 299 Aug 30 2010 welcome.conf
    -rw-r--r-- 1 root root 2896 Mar 15 18:49 zz001_atmail_vhost.conf
    -rw-r--r-- 1 root root 2585 Mar 15 18:49 zz002_horde_vhost.conf
    -rw-r--r-- 1 root root 6906 Jun 13 15:55 zz010_psa_httpd.conf

    The vhost.conf file has been created:
    [root@dds conf.d]# cat /var/www/vhosts/wearecitizenradio.com/conf/vhost.conf
    ServerAlias *.wearecitizenradio.com

    AllowOverride FileInfo Options
    php_admin_flag safe_mode off


    The wildcard CNAME entry has been added to the DNS zone:
    [root@dds conf.d]# dig *.wearecitizenradio.com

    ; DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 *.wearecitizenradio.com
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER

    It looks like they did everything right to me, yet I'm still getting the Webmail interface when I try to load my subdomain site. What could I/they be missing?

  24. lukeradl
    Posted 5 years ago #

    I had sent that to them and as far as I can tell they followed those instructions, though I/they might've missed something. I can't tell what though.

  25. angelkyodo
    Posted 5 years ago #

    i am having a similar problem. i used the same steps as described, and i've checked into the suggestions made, including setting up the *.domain.com wildcard. [i have NOT spoken with host because the features required are standard with HostGator]

    when i go to the subdomain, i see the directory listing. there are no wordpress files in it or the blog.dir at all. the main domain is working (www.angelkyodowilliams.com)

    i'm using:
    HostGator as host
    domain: angelkyodowilliams.com
    subdomains: gallery/author (both having same problem
    used Fantastico to install WP which installed it at /public_html/ level of angelkyodowilliams.com then the subdirectories were created by the call to setup additional sites

    i've tried everything i can think of and can't get it to work.

    as a bonus, if anyone has any hints about getting different StudioPress child themes to show up for each subsite as appropriate, i'd appreciate it a great deal.

  26. Given that http://whatever.angelkyodowilliams.com/ correctly points to http://angelkyodowilliams.com/wp-signup.php?new=whatever you actually set it up fine.

    What's wrong?

    (Remember - There is no PHYSICAL folder for your subdomain built by wordpress. No public_html/whatever/ folder. You WILL get a blogs.dir/#/files folder, but not till you upload an image.)

  27. angelkyodo
    Posted 5 years ago #

    when i go to one actual subsites set up, that is not the page i get. i see the contents of the directory: http://gallery.angelkyodowilliams.com/

    and if i try to enter that site's dashboard from within the Site Admin, i get: http://gallery.angelkyodowilliams.com/wp-admin/

    oddly, the second subsite at: http://author.angelkyodowilliams.com/
    DOES show up. i don't know why there is a difference between them.

  28. i see the contents of the directory

    then you have a physical folder on the server. remove it.

  29. angelkyodo
    Posted 5 years ago #

    yes, i found that, thank you.

    but i removed it, deleted the subsite from within the admin area, and tried to re-create the site, but it doesn't show up. i get similar errors. but only for the sub-name i had before "gallery"

Topic Closed

This topic has been closed to new replies.

About this Topic