Forum Moderators: phranque

Message Too Old, No Replies

HELP! My host support has made a mistake and wont believe me!

host setup mistake

         

kwasher

4:45 pm on Oct 5, 2003 (gmt 0)

10+ Year Member



My host just installed CPANEL X (10).

When you set up subdomains, it AUTOMATICALLY adds a backslash (/) to your entry, so a link ends up looking like this

[yourdomain.com...]

With a backslash at the end. It doesnt work properly and they insist it is ok (it doesnt even work with THEIR links) and... this is what pissed me off... they are not going to help me any more!

Their latest solution is to do this:

[yourdomain.com...]

When you do this, it ends up with TWO backslashes at the end! Even if you use this with one backslash [yourdomain.com...] google cant read this correctly as it shows PSA's when I use that type of 'link'. When I use

[yourdomain.com...]

Everything is how it is supposed to be.

I'm hoping that, if -I- am not incorrect (it is always possible of course), that YOUR input will help me get them to take out the automatic adding of a backslash to subdomain entries.

THANK YOU!

PatrickDeese

4:52 pm on Oct 5, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Why don't you send the subdomain to a subdirectory instead?

sub.example.com/sub/

that should work fine. there is no specific reason to need it to go a specially named html file.

kwasher

5:38 pm on Oct 5, 2003 (gmt 0)

10+ Year Member



there is no specific reason to need it to go a specially named html file

Well, it does go to a specifically named file, as the other way would send it to index.html which is the wrong file (that is already a different page).

Your idea would be a good workaround if the file had its own directory. Thank you for replying, I'm willing to consider any input anyone can give. (Even if someone out there is not totally sure, please feel free to send me a sticky so I can consider your thoughts in with mine).

Can you confirm for me that a link like this:

[yourdomain.com...]

With a backslash at the end, is not a proper link... there is a rule about this somewhere I think. If could get someone here who is an expert to tell me if I am wrong (or my host is), I would greatly appreciate it.

Should I have to find a workaround, when it seems obvious to me there is a mistake in their CPANEL setup/code... because it automatically adds a backslash to anything put into it?

--Kenn

PatrickDeese

5:44 pm on Oct 5, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I have no experience with CPANEL, but just change the redirect to example.com/links/ instead of example.com/links.html - then move your links.html to the subdirectory and change it to index.html.

The thing is when you contract out hosting - control of the server is never 100% under your control. Don't give the $6 per hour "first tier" support techs a hard time, just work with their system.

What is better, fighting with them for a couple more hours (and probably not resolving the issue, or rewriting your links on existing pages.

Take advantage of the folder name to seed it with keywords or something.

good luck.

claus

6:29 pm on Oct 5, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



>> [yourdomain.com...] is not a proper link

It's an allright link. You can have dots in *nix directory names, no problem - "links.html" is a directory name, that's what the slash implies.

/claus

kwasher

6:44 pm on Oct 5, 2003 (gmt 0)

10+ Year Member



It's an allright link. You can have dots in *nix directory names, no problem - "links.html" is a directory name, that's what the slash implies.

Hmmmm. The link does not work properly that way (maybe because it is not a directory?)... try this (I got it from a link off of your site, then I added a backslash):

[anybrowser.com...]

Note that the images dont' work any more.

NOTE TO MOD: I don't know if this is an ok URL to post. Its not meant to be promotional in any way (sometimes I see links in posts, and sometimes I don't, so it can be unclear).

Oh I just thought of this- would this then be a proper link, as the cpanel software automatically adds a backslash, and the instructions tell YOU to add your own backslash, with this as the result-

[yourdomain.com...]

--Kenn

p.s I tried to find an html link on webmasterworld to show this, but I couldn't. I guess I should probably add... of course (expert coding).

BaseVinyl

7:14 pm on Oct 5, 2003 (gmt 0)

10+ Year Member



I'm not sure I understand the problem but this is my take on your situation:

you want to have a "subdomain" on your site called "links" so you need to create your subdomain www.yousitename.com/links/ and then in that links folder you have to place an index.html file
That index.html can be a renamed copy of links.html.

If you have a subdomain like this: www.yoursitename.com/links.html/
you will still need to put an index.html file in that subdomain folder.

That's my take on thie whole confusing question. :)

kwasher

7:40 pm on Oct 5, 2003 (gmt 0)

10+ Year Member



I'm sorry about the confusion.

I want (and have done this many times before with no problem) a subdomain, and it points to a specific file in my MAIN directory, like this

[links.yourdomain.com...]

points to

[yourdomain.com...]

Its really simple and I have a bunch of them already. But since the CPANEL upgrade, when I create this

[links.yourdomain.com...]

and I set it to redirect to

[yourdomains.com...]

it ends up actually being redirected to

[yourdomain.com...]

NOTE the backslash. It is not supposed to be there. There IS instructions that say

---
You can redirect Internet traffic from a particular subdomain to another location. This is usually used when the web pages that made up the subdomain have been moved to another location.

To add subdomain redirection:

Click on the Subdomains button on the home page.

Click on the required subdomain from the first drop-down list.

Click on the Setup Redirection button.

Enter the redirection address in the available field. Make sure that you end the address with a trailing slash(e.g. [yourdomain.com...]

BUT, if you DO do this (Make sure that you end the address with a trailing slash (e.g. [yourdomain.com...] your subdomain looks like this

[yourdomain.com...]

With TWO backslashes at the end.

The point: the software is already adding a backslash automatically, and it shouldn't be.
--

Side note: the first 'support' person said I forgot to add a closing ) PARENTHESIS! That was when I knew he didn't really know what he was talking about

[yourdomain.com)...]

Certainly isn't a valid link, or is it something I never heard of? (But it didn't work anyway, I tried everything he said of course).

kwasher

9:27 pm on Oct 5, 2003 (gmt 0)

10+ Year Member



uh oh. Now I can't seem to ftp/login to my account... I'm going to take that as they are working on it. :}

claus

12:43 am on Oct 6, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I should perhaps elaborate on the valid link thing. In the unix flavour filesystems, a dot is treated just like any other character. That's why "links.html" is a valid directory name as well as a valid file name.

I think the error in your cpanel is that it will allow you to create redirects to folders only, and not to files. That's why, when you enter a file name, it appends a slash, as that's the proper thing to do with a folder/directory.

/claus

kwasher

1:28 am on Oct 6, 2003 (gmt 0)

10+ Year Member



I understand. Thanks.