Forum Moderators: mack

Message Too Old, No Replies

Subdomain or not?

         

goldengob

6:50 pm on Jul 4, 2004 (gmt 0)

10+ Year Member



Please help!

I've had a website for about a year now but I am still learning. I've got a problem that I can't seem to get an answer to in untechnical terms. I have asked my hosting company of whom I won't mention, for help on this problem several times and they still don't give me an answer which I can understand, even though I have explained time and time again that I am pretty new to this. As you can see I'm pretty desperate!
Ok so here goes.
Say I have a website that you can access by going to mydomain.com
Now obviously that takes me to my index page.
In my directory I have many pages, and lets say I want to put a link on someone else's site that goes to one of my other pages rather than my index page. e.g. mydomain.com/something.htm
But for whatever reason, it won't let me do this.
All my host keeps coming back with, is that I need a subdomain. So I set up a subdomain to their instructions and it still dosen't work. I don't want a new site within a site, I just want someone to be able to link to one of my other pages in my directory.
Can you please try and explain how to do this or is subdomain the only answer, and where am I going wrong?

Thanks

Jon

encyclo

12:15 am on Jul 5, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld, goldengob.

I'm not sure why your hosting company is recommending a subdomain, unless I'm misunderstanding things. When you type the desired link location such as mydomain.com/something.htm directly into your browser, does the appropriate page show up? If so, then there is no more to do on your part. Just let the third-party site know the link, and things will work fine.

If the appropriate page doesn't show up, then go to your main page and navigate to the page from there. Does the address in the browser's address bar change to mydomain.com/something.htm or does it stay as reading mydomain.com whatever page you're on? If it is the latter, then your website is being loaded directly into a frame, and that will complicate things.

goldengob

12:48 am on Jul 5, 2004 (gmt 0)

10+ Year Member



Ok, at last someone who understands what I'm trying to do here. Thanks!
This is the part that is confusing me. When I type mydomain.com/something.htm into my own browser it works just fine, the page comes right up, but its when I give it to someone else as a link, they say that they get an error page. So to try and see what they were talking about, I placed the link on a blank page in Dreamweaver written exactly as I typed it into my browser. I got the same thing, an error page. I just don't know where I'm going wrong.

Thanks

Jon

jk3210

1:13 am on Jul 5, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Are you sure you're putting this...

<a href="http://www.mydomain.com/something.htm">Click Here</a>

in the html of another page? (including the "http://" part)

ergophobe

6:50 pm on Jul 7, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Do links work on pages within your site?

- can page somepage.html have a successful link to someotherpage.html?

Tom

raywood

1:44 pm on Jul 9, 2004 (gmt 0)

10+ Year Member



goldengob, did you design the site yourself, or did you use a canned program or script? Could your site have some kind of url redirect or rewrite in a script somewhere?