WordPress.org

Ready to get started?Download WordPress

Forums

can't access newly created sub-domains (27 posts)

  1. ChapDaddy65
    Member
    Posted 2 years ago #

    I am having issues visiting my sub-domain sites (e.g. site.website.com). Everything went fine during installation of MS, but after I created my sub-domain sites I visited them and Google Chrome says they don't exsist? I cant even get access the their dashboards, except for my main site. I do have "mod_rewrite" enabled and I have the Wildcard sub-domain (e.g. *.website.com) in my DNS records that are pointing to my website's IP address, but I dont know what else to check. What could be the problem?

  2. How new are they? Sometimes these things take a bit of time to propagate. Like an hour.

  3. ChapDaddy65
    Member
    Posted 2 years ago #

    oh... well that would have been really nice to know in the tutorial. yeah I installed MS and right after I just created the sub-domains. so i just created them, brand new, right out of the box.

  4. ChapDaddy65
    Member
    Posted 2 years ago #

    so how many hours would it take to propagate 6 sub-domains?

  5. It depends on the host :) And sometimes on the whims of the kobolds in our machines.

    Normally it's right away, but once in a while I have a site that takes a bit to catch up.

    However, you may also have wildcard wrong, since foobar.yourdomain.com should redirect you to a signup page: yourdomain.com//wp-signup.php?new=foobar

  6. ChapDaddy65
    Member
    Posted 2 years ago #

    then what is the proper way to assign a wildcard through cPanel?

    I have *.mydomain.com as the url...

    Also I have registration disabled since i am the only user at this point, no one else is working on this project.

  7. cPanel it's create a subdomain *.yourdomain.com. And make sure that the subdomain's Document Root is public_html.

  8. dcc186
    Member
    Posted 2 years ago #

    I hav e this issue to, on a local install. Except for sub directories NOT subdomains. I recently upgraded from WPMU to WP 3 and multisite all of my old blogs are working but new ones come up 403..... any ideas?

  9. ChapDaddy65
    Member
    Posted 2 years ago #

    oh, i was told to go to the DNS editor and add the domain there, should i do both places or just through "create a subdomain" ?

  10. ChapDaddy65
    Member
    Posted 2 years ago #

    wait is MU and MS the same thing?

  11. ChapDaddy65
    Member
    Posted 2 years ago #

    From Ipstenu:

    However, you may also have wildcard wrong, since foobar.yourdomain.com should redirect you to a signup page: yourdomain.com//wp-signup.php?new=foobar

    yeah it doesnt do that, instead it goes to yourdomain.com/wp-signup.php?new=yourdomain.com

    Also I tried removing the DNS wildcard and added the *.yourdomain.com subdomain via cPanel and it gave me that same result mentioned above, and it also jacked up my cPanel, so i had to remove it and it went back to normal. Do you think it's because i have sub-domain entries in my DNS records? when cPanel was set-up it already had records like cpanel.yourdomain.com, mail.yourdomain.com, localhost.yourdomain.com, etc. if i were to delete those would that solve my problem?

  12. WPMU is the predecessor to WP Multisite (not the same thing, but close enough for horseshoes).

    Do you think it's because i have sub-domain entries in my DNS records? when cPanel was set-up it already had records like cpanel.yourdomain.com, mail.yourdomain.com, localhost.yourdomain.com, etc. if i were to delete those would that solve my problem?

    No, don't delete them!

    You made sure to point * at the public_html instance? I would ask your host if you can use wildcard subdomains at this point.

  13. ChapDaddy65
    Member
    Posted 2 years ago #

    You made sure to point * at the public_html instance? I would ask your host if you can use wildcard subdomains at this point.

    yes, * does point to /public_html, and nothing gets created, i checked via cPanel and Filezilla FTP.

    I double checked with my host, which is JaguarPC, i talked to their live support and they said that "mod_rewrite" is indeed installed and enabled. the only answer im waiting on from them is if my domain is mentioned in the mod_rewrite file.

    See I have a VPS server with one main domain that manages all my other domains, and this domain im working on is a managed domain, not the main domain. I think that might be the problem. I believe the mod_rewrite file only affects my main domain and nothing else. and JaguarPC couldnt answer that for me.

    I have tried to access the httpd.conf file but i dont have access to it. If I SSH, im in a jailshell...

    For now I deleted all but one of my sub-domain sites, and it's been a couple hours now and it still hasnt become active. Would it be plausible to just add the sub-domain manually through cPanel and then add the sub-domain through wordpress?

    is their another step I might be missing? like do i need to re-upload another wordpress install or something like that?

  14. I've been having trouble setting up MultiSite on HostGator the past 2 days. I'm using Sub-domains and have my wildcard setup as *.mydomain.com. I have set up many multisite networks and don't understand what is going on. It's as if the .htaccess isn't being read properly.

    The main site works fine and I can see that the site was created by clicking on Edit in the Sites section of the Network Admin. However, if I go to the site or I try to get to its dashboard, I get an Apache page that says congratulations, now you're ready to add some files!

    What can I do?

  15. ChapDaddy65
    Member
    Posted 2 years ago #

    I'm going to try and do the sub-directory method instead and see if i can successfully create my network that way, if i do come out successful, then i know something is messed up with either my mod_rewrite or how i am adding a wildcard sub-domain.

    I have been told twice now that adding the sub-domain in the DNS records is the proper way ALONG with adding it via "Add a Subdomain" in cPanel. so apparently their is no proper tutorial on how to correctly install MS.

  16. Well, something is wrong, for sure, because every other time I set up a Multisite network, I did it according to the Codex instructions and had no problem. At about the same time as ChapDaddy, I successfully set up a sub-directory network, even though WP detected a previous install. Essentially, I have no clue WHY it worked, but thankful it has.

  17. yes, * does point to /public_html, and nothing gets created, i checked via cPanel and Filezilla FTP.

    That's as it should be :) Good. We did that right!

    See I have a VPS server with one main domain that manages all my other domains, and this domain im working on is a managed domain, not the main domain. I think that might be the problem. I believe the mod_rewrite file only affects my main domain and nothing else. and JaguarPC couldnt answer that for me.

    I have that too. (ipstenu.org has 6 other domains on it). Are these other domains separate accounts?

  18. ChapDaddy65
    Member
    Posted 2 years ago #

    Are these other domains separate accounts?

    yes, each domain i have has it's own seperate cPanel and folder, they only share one thing, their IP address, every domain I have on my VPS server shares the same IP address.

  19. (Pali, stick to your own topic, please, you make it HARDER to help people if you're not on the exact same server.)

    ChapDaddy65, Then you should be fine.

    I have been told twice now that adding the sub-domain in the DNS records is the proper way ALONG with adding it via "Add a Subdomain" in cPanel. so apparently their is no proper tutorial on how to correctly install MS.

    The 'create a network' page is limited to general advice on that matter because, alas, every server's a special snowflake (no two are 100% the same).

    If your DNS is set up 'normally', anything.domain.com goes to your IP address, and the DNS on that server says 'Oh, that's all domain.com!' and it's happy. Then cPanel says 'anything? That's pointed at domain.com's public_html!' where WordPress takes the puck and scores like Gretzky.

    So it's complicated and a lot of steps that, when it works, works great.

    What happens if you manually make subdomains and point them to the public_html location? That is NOT use wildcards?

  20. ChapDaddy65
    Member
    Posted 2 years ago #

    What happens if you manually make subdomains and point them to the public_html location? That is NOT use wildcards?

    if i add new.domain.com through the subdomain page it creates a folder based upon that new subdomain name (e.g. new.domain.com gets pointed to /public_html/new)

    now I'm not sure why this happens, but when I added the wildcard subdomain through the subdomain page, every css styling (from cPanel to WP) went away and only the framework was showing. and in order to remove the wildcard i had to relogin to every cPanel page, and then after 2 minutes with the subdomain gone, it all went back to normal.

    Since I still havent uploaded any important content on my site yet, here's what im going to do:

    1] Wipe and re-install WP
    2] Add every subdomain via cPanel [folder direction; point all subdomains to public_html or their own seperate folders?]
    3] install MS with the sub-domain method again (e.g. new.domain.com)
    4] add all the new sites

    I am taking a complete shot in the dark, so I am assuming that something is going to go wrong with this plan, so what should I do instead?

    Also I won't wipe WP until someone replies in case their's a easier way to fix this...

  21. ChapDaddy65
    Member
    Posted 2 years ago #

    im not talking to anyone directly, but it's been 4 hours, I'm going to go ahead with the plan made out above.

  22. ChapDaddy65
    Member
    Posted 2 years ago #

    ...table prefix for during installation!

    I had originally changed my table prefix to wp1_. could that have been a problem?

    Also I just installed a clean WP and for some reason the CSS isn't loading. I am viewing in chrome and the inspect element console gave me 6 502 bad gateway errors.

    "Failed to load resource: the server responded with a status of 502 (Bad Gateway)"

    why would this happen on a clean install? I completely removed the old database and user and created a new one, so everything is new...

    Any thoughts at all?

    *~~~~~~~EDIT~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*

    I completely forgot about one crucial process that is in the way; CloudFlare. My nameservers and DNS records are all pointed and managed through CloudFlare. I'm going to disable it and see what happens.

  23. ChapDaddy65
    Member
    Posted 2 years ago #

    okay, so CloudFlare is disabled and i changed my nameservers, so now i think i might be okay for now. ill check back when something goes wrong...cause i know something will

    *~~~~~~EDIT~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*

    I have successfully installed MS, I just added one subdomain site and now it gives me a 404 error when i visit the new subdomain site. so does that mean i just have to wait for WP to propagate over?

  24. ChapDaddy65
    Member
    Posted 2 years ago #

    I am really close to fixing my MS install; I first tried adding the wildcard subdomain in the DNS records, didn't work. So i deleted the new subdomain site and the DNS record and added the wildcard via the subdomains page in cPanel, then i went back and created the new subdomain site again and it worked!....almost.

    I can view the dashboard but I cant visit the site itself (the frontend). now is this the time where I'm supposed to wait for a hour to let everything propagate over?

  25. ChapDaddy65
    Member
    Posted 2 years ago #

    I did a little test, and its good and bad, I made all my 6 sub-domains and all of them except one was immediately created. i keep getting sent to "sub.domain.com/cgi-sys/defaultwebpage.cgi" when i visit the frontend. I have deleted and re-created this specific sub-domain site twice and get the same results.

    Any fixes?

  26. DUDE. Look at how many posts you made.

    I get that this is a big thing for you and you need it fixed, but that sort of behavior on a volunteer forum is actually making it harder for anyone to help you in their spare time. Now we have to read all the posts, sort out what you did and didn't do, and come up with ideas. And? If you keep posting, then we can't keep up.

    If you need ASAP help, you need to hire someone. Otherwise you need to slow down the posting and be patient. The volunteers here have real lives. Families. Jobs. Etc.

    if i add new.domain.com through the subdomain page it creates a folder based upon that new subdomain name (e.g. new.domain.com gets pointed to /public_html/new)

    Yes, and I specially asked what happens if you point that new sudomain to just /public_html/

    If you don't have a way to change that, you need to tell us. By default, new subdomains point to their own folders. That's how subdomains work. I'm asking you to alter default behavior and edit the location before you hit 'create subdomain' or whatever the button is for you :)

    Of course now you've gone and done a whole lot more that you may not have needed do to, so I'm going to skip all of it and hope this is your only, lingering problem.

    i keep getting sent to "sub.domain.com/cgi-sys/defaultwebpage.cgi" when i visit the frontend.

    That means it's getting your server's default subdomain page. Doublecheck where it's pointing to in your subdomain config. public_html?

  27. ChapDaddy65
    Member
    Posted 2 years ago #

    I'm so sorry, i didn't mean to overload with posts, I was getting just a little bit anxious and a little bit angry at WP. I'm still learning and getting to know what all I'm dealing with and will definitely tone it down on this forum.

    That means it's getting your server's default subdomain page. Doublecheck where it's pointing to in your subdomain config. public_html?

    I checked and it was pointed at Public_html, the problem was in WP on the info tab of new.domain.com. the attribute had been unchecked, so i checked public and it went live. Problem solved.

    Thank you for all your help and from now on I will definitely do alot more solo troubleshooting before posting. :)

Topic Closed

This topic has been closed to new replies.

About this Topic