Jump to content

Recommended Posts

Posted

I came across a link recently that was

 

http://sub1.www.sitename.com

 

I'm assuming the www in this case is a directory or sub1 where sub1 is the subdomain?

 

Anyone have any ideas on this? I'd like to have the ability to set up links in a similar fashion.

Posted

I've never done a double subdomain, but it looks like you can set them up in the Subdomains section of your CPanel.

 

To set up http://sub1.sub2.your-TCH-domain.com, you'd first create the sub2.your-TCH-domain.com subdomain. Then you'd select sub2.your-TCH-domain.com in the drop-down box next to the "Add" button and create the sub1 subdomain, which I think would give you sub1.sub2.your-TCH-domain.com.

 

I guess you can give it a try and see if it works. :xmas:

Posted

Thank you Rob and David. I'll test it out... maybe I'll get lucky. I can't tell you how many times I've discovered something new just by attempting things that you just 'knew couldn't work'.

Posted

I tried this, and indeed, it does not work.

 

When you are in cPanel, if you try to add the subdomain "test" to "subdomain.example.com", cPanel will tell you that the creation was sucessful, however, if you try to access http://test.subdomain.example.com, it doesn't work.

 

If you look at your folder structure, you will discover that cpanel created the "test" folder in /public_html/ directory, NOT the /public_html/subdomain/ directory.

 

But you can't simply use "test.example.com" because that doesn't work either. You can only access the contents of this folder by going to example.com/test.

 

So, while cPanel TELLS you that the subdomain creation was successful, it won't work when you try to actually use it.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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...