Forum Moderators: mack

Message Too Old, No Replies

Hiding Sub Domains without the use of Frames?

Needed some assistance from somebody in the know PLEASE

         

convy

9:49 pm on Jun 16, 2004 (gmt 0)



Hi All,

I have a domain http://www.example.com this all works fine. My Problem, I built a site for my wife and her domain name is http://www.example2.com if I point to that address no problem site appears fine.

My issue that I need to get resolved is if I navigate to any other page so lets say LINKS which should be:
http://www.example2.com/links.htm
it appears as:
http://www.example.com/example2/links.htm

...and if I try to manually point to this site I get the "This page cannot be displayed" message and the blurb about DNS errors etc.,

As somebody who is a virtual newcomer to site building my main area of concern is that my host tells me that I can resolve this by using frames to build my site. I need to know is it possible to resolve this issue without using FRAMES as...

A) I am not taught in frames (being self taught!)
B) I don't actually want to go through the process of learning!

CAN ANYBODY HELP?
PLEASE

regards
Sean

[edited by: tedster at 8:53 am (utc) on June 20, 2004]
[edit reason] use example.com [/edit]

gethan

8:57 am on Jun 20, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Sean welcome to WebmasterWorld.

so: you have www.example.com and www.xyzexample.com hosted on the same server. But xyzexample.com has navigation links that points to www.example.com/xyzexample/

It sounds like your second domain is not actually hosted but just forwarded. A request for xyzexample.com has the content from example.com/xyzexample/ returned.

Your host mentions frames as a way to hide this.

It is a bad idea. If the website is important to you, you should get it hosted correctly - with its own space - or your current package should be able to redirect in such a way as to allow links to be displayed correctly. Hosting for static, small sites is very cheap if your current host can't do it then move somewhere else.

>> A) I am not taught in frames (being self taught!) B) I don't actually want to go through the process of learning!

Unfortunately, if you don't want to pay someone to do this for you, you will need to learn something - frames are easy. Learning how to setup domain names correctly and forward requests correctly is much harder - though this is what you should be paying your host for...

Dudermont

5:26 pm on Jun 20, 2004 (gmt 0)

10+ Year Member



Could you just past some of the code that you think should be going to
[example2.com...]
but appears as:
[example.com...]

But change it to example.com of course...