+ Reply to Thread
Results 1 to 11 of 11

Thread: can't get subdomains to work

  1. #1
    codetive is offline New Bee
    Join Date
    Nov 2010
    Posts
    9
    WHB Points this Month
    0.00
    WHB Points
    0.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default can't get subdomains to work

    hi all,

    few things first. I'm new here so be gentle and I didn't find solution or similar problem with the search.

    I got a strange problem. I managed to do few subdomains for my site, but only 2 out of 3 works. I did everything in the exactly the same way, but one of them doesn't work. Is there some name length limit or something? Or does it take some time before it starts to work?


    Thanks in advance --


    -T

  2. #2
    MyWebs is offline Moderator
    Join Date
    Jun 2008
    Location
    Las Vegas, NV.
    Posts
    57
    WHB Points this Month
    0.00
    WHB Points
    5.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Typically the new DNS information for sudomains propagates very quickly across the Internet in the USA, at least for me. Typically as fast as I make a new subdomain and go to test it it's working. With that said the new DNS info can take hours or even up to 3 days to work, but more than a few hours is rather rare now days.

    A subdomain is limited to 63 characters. There is no limit on the number of subdomains or how many levels they extend to, but the total length of the whole domain name can not exceed 255 characters.

    I suggest waiting a few hours to see if the problem domain works. If it doesn't try WHB's live chat support or open up a support ticket. I'm sure if its a problem on WHB's end they will fix it for you quickly.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Get published on a top 100 web site where they share revenue.
    Take The Tour to learn more. (I am compensated for referral)
    Then sign up for free to Make Money Writing. (Always Free)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  3. #3
    codetive is offline New Bee
    Join Date
    Nov 2010
    Posts
    9
    WHB Points this Month
    0.00
    WHB Points
    0.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks for reply.

    Could someone test these (As I live in Finland and not in US):

    http://m.codetive.com or http://touch.codetive.com

    they should look like this:

    http://codetive.com/m/ and http://codetive.com/touch/

    Thanks in advance.

  4. #4
    MyWebs is offline Moderator
    Join Date
    Jun 2008
    Location
    Las Vegas, NV.
    Posts
    57
    WHB Points this Month
    0.00
    WHB Points
    5.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Sure, no problem.
    http://m.codetive.com/ & http://touch.codetive.com/ both give me the following error in Chrome:

    This webpage has a redirect loop.
    The webpage at http://m.codetive.com/index.php has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer.

    It looks like I have the new DNS entry but you have messed something up or there is a problem on your server. I'm looking at the DNS records, but to be honest I'm not sure exactly what to be looking for to figure out what is wrong. There is one web tool I think that may provide an answer once I can locate it.

    While using this DNS web tool: http://www.dnsgoodies.com/ It says touch.codetive.com & m.codetive.com are missing a MX, CNAME, NS, PTR and SOA record. I'm not sure about all of them records, but I do know you should have at least a CNAME record for each subdomain. MX is used for email so I'm thinking that one is optional.

    I found the tool I was looking for, http://www.intodns.com/ , but it doesn't work with subdomains. codetive.com's records all look good with 1 caution thing.
    Thanks,
    MyWebs
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Get published on a top 100 web site where they share revenue.
    Take The Tour to learn more. (I am compensated for referral)
    Then sign up for free to Make Money Writing. (Always Free)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  5. #5
    codetive is offline New Bee
    Join Date
    Nov 2010
    Posts
    9
    WHB Points this Month
    0.00
    WHB Points
    0.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by MyWebs View Post
    It looks like I have the new DNS entry but you have messed something up or there is a problem on your server.
    It takes talent to mess something up with others tools. This is really strange because I have other subdomains that are working. Maybe I just wait little more and contact someone tomorrow. I can live with the subdirectories but I would love to work with subdomains.

  6. #6
    Alan B's Avatar
    Alan B is offline Super Moderator
    Join Date
    Jul 2007
    Location
    Toronto, Canada
    Posts
    1,386
    WHB Points this Month
    0.00
    WHB Points
    290.00
    Thanks
    0
    Thanked 5 Times in 5 Posts

    Default

    A little detail would be helpful, if you expect a diagnosis. For example:

    Do you have a reseller account (with access to DNS Zone), or just a regular shared hosting account?
    How did you create the sub-domains?
    Did you set up cPanel Redirects?
    Did you make any .htaccess entries that affect these domains?
    What did you do differently for the sub-domains that are working, versus the ones that are not?

    If you don't accurately describe what you did and what issues you encountered, we can't very well help you.
    I am not WHB staff and I am not paid.
    I provide help in these forums on my own time.

  7. #7
    MyWebs is offline Moderator
    Join Date
    Jun 2008
    Location
    Las Vegas, NV.
    Posts
    57
    WHB Points this Month
    0.00
    WHB Points
    5.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Because I''m getting that redirect warning when going to the subdomain touch.codetive.com AND the folder http://codetive.com/touch/ I'm wondering if you setup that folder to redirect to the subdomain??? I see when going to the folder URL its redirecting me back to the subdomain. I'm surely no expert here, but I'm rather sure it shouldn't work this way.

    This would create a redirect loop as the subdomain looks to the folder that is created for the subdomain's content. And if that folder is redirecting back to the subdomain you have created a redirect loop, a viscous cycle.

    On my own server I have a subdomain css.example.com that works right to serve up CSS files. When I go to the folder example.com/css it does not redirect back to the subdomain. I checked to make sure I'm right about this.

    Thanks,
    MyWebs
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Get published on a top 100 web site where they share revenue.
    Take The Tour to learn more. (I am compensated for referral)
    Then sign up for free to Make Money Writing. (Always Free)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  8. #8
    codetive is offline New Bee
    Join Date
    Nov 2010
    Posts
    9
    WHB Points this Month
    0.00
    WHB Points
    0.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by Alan B View Post
    Do you have a reseller account (with access to DNS Zone), or just a regular shared hosting account?
    How did you create the sub-domains?
    Did you set up cPanel Redirects?
    Did you make any .htaccess entries that affect these domains?
    What did you do differently for the sub-domains that are working, versus the ones that are not?
    - Hosting package: Hosting Basic
    - With cPanel
    - Did not need any redirections
    - Didn't touch any .htaccess files
    - I actually made 4 subdomains with the cPanel tool and transferred stuff via FTP, but for some reason 2 out of 4 (now) are only working.

    The working ones:
    http://hopeahattu.codetive.com
    http://metrodatum.codetive.com

  9. #9
    Alan B's Avatar
    Alan B is offline Super Moderator
    Join Date
    Jul 2007
    Location
    Toronto, Canada
    Posts
    1,386
    WHB Points this Month
    0.00
    WHB Points
    290.00
    Thanks
    0
    Thanked 5 Times in 5 Posts

    Default

    Yes. One does not need to manually setup redirects for sub-domains to function. cPanel automatically resolves a sub-domain to the directory that it creates along with the sub-domain.
    I am not WHB staff and I am not paid.
    I provide help in these forums on my own time.

  10. #10
    codetive is offline New Bee
    Join Date
    Nov 2010
    Posts
    9
    WHB Points this Month
    0.00
    WHB Points
    0.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I just erased and removed everything and made them all again and now it seems that they are working? I just don't get it, but I'll take it. :/

  11. #11
    Arkadij S Guest

    Default

    Hi Everyone,

    Seems like there has been an issue with cPanel wrapper. Once you recreated those addons - the changes got overridden and that has fixed the issue. Not sure, but it's most likely to be that.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts