Reply
URL resolving issues
Old 01-12-2008, 05:43 AM URL resolving issues
Junior Talker

Posts: 1
Good evening,

I hope this was the most appropriate forum to post this in but have a small issue with my sites URL Redirections/Resolving of links.

I currently have 2 Hosted Websites; www.a.com and www.b.com (for this example). www.a.com hosts my main website while www.b.com serves to redirect to www.a.com, and host my Forums as www.a.com doesn't have the required equipment/software on their servers.

Currently when www.a.com links to the forums which are hosted on www.b.com it is resolving as www.b.com's TRUE IP address; for example http://127.0.0.1/forum as opposed to www.b.com/forum (I do not wish this to happen as a) it looks unprofessional, and b) a security risk).

But for the life of me I cannot begin to fathom why. The link www.b.com/forum points to an error page saying:

Quote:
The page cannot be found

The page you are looking for might have been removed, had its name changed, or is temporarily unavailable. Please try the following:
  • Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly.
  • If you reached this page by clicking a link, contact the Web site administrator to alert them that the link is incorrectly formatted.
  • Click the Back button to try another link.
HTTP Error 404 - File or directory not found.
Internet Information Services (IIS)


Technical Information (for support personnel)
  • Go to Microsoft Product Support Services and perform a title search for the words HTTP and 404.
  • Open IIS Help, which is accessible in IIS Manager (inetmgr), and search for topics titled Web Site Setup, Common Administrative Tasks, and About Custom Error Messages.
However the DIRECT IP link resolves the forum. I've checked the .htaccess on the /forum directory and theres nothing in that could be coursing this (I've even deleted everything in the .htaccess to no avail).

Any help would be GREATLY appreciated.

Thanks,
Webbie08
Webbie08 is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
     
Old 01-12-2008, 10:44 AM Re: URL resolving issues
vkw91's Avatar
Ultra Talker

Latest Blog Post:
Good Web Design Guide - part 1
Posts: 289
Name: Vicky
Location: Wales
Surely you just need web forwarding on your domains sub-directory? In that case contact your hoster. Thats what i would do anyway!
__________________
Portfolio: www.vkw91.co.uk
Techno Pup: www.technopup.co.uk

vkw91 is offline
Reply With Quote
View Public Profile Visit vkw91's homepage!
 
Old 01-12-2008, 02:47 PM Re: URL resolving issues
Experienced Talker

Posts: 30
Location: Illinois
Here is what I would do..... You have two hosted websites:

Website 1 = 192.168.0.1
Website 2 = 192.168.0.2

Domain Dns Entries:

www.a.com = 192.168.0.1
www.b.com = 192.168.0.1

Website 1 should have host entries to resolve both www.a.com and www.b.com or if you can simply do a url redirect you could have www.b.com completely redirect to www.a.com and you would not need the host entry for www.b.com.

You would then create a new dns entry for the forum and add the host entry "forum.a.com" to website 2's configuration:

forum.a.com = 192.168.0.2

Using this type of example you can have "www.a.com" go to one server and "forum.a.com" go to the other.

Last edited by wudaben : 01-12-2008 at 02:49 PM.
wudaben is offline
Reply With Quote
View Public Profile
 
Old 01-13-2008, 05:33 AM Re: URL resolving issues
chrishirst's Avatar
Super Moderator

Posts: 11,885
Location: Blackpool. UK
Are both servers IIS?

How is the redirection done?
Because if you set the redirect from the sites top level using the IIS MMC then it will redirect ALL files and folders to the same folder/filename at the specified location.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to URL resolving issues
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.13483 seconds with 13 queries