There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
access audio avg avg 8 bios blue screen boot bsod computer connection cpu crash css dell desktop dma driver drivers dvd email error excel explorer firefox firefox 3 freeze gimp graphics hard drive hardware hijackthis hjt install internet internet explorer itunes keyboard laptop macro malware monitor motherboard network networking outlook outlook 2003 outlook 2007 outlook express pio problem problems router seo server slow sound sp3 spyware trojan usb video virtumonde virus vista vundo windows windows vista windows xp winxp wireless
Web Design & Development
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Internet & Networking > Web Design & Development >
http and https on different servers, not resolving


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

 
Thread Tools
williamc's Avatar
Member with 60 posts.
 
Join Date: Jul 2004
Experience: Advanced
31-Jan-2006, 01:47 PM #1
http and https on different servers, not resolving
I'm having a problem on my internal network. Our main website is hosted on a server, while https is directed to a different server. This works from the outside thanks to our router which can direct traffic based upon port number (80 vs 443). On our internal network, we dont have this luxury, as all traffic (http & https) is sent to the same server. This is ok for me, as I can type in the ip address of the server to get the https website, but the average user when going to the main website and clicking the link to the https site, gets "page cannot be displayed". Any ideas on how to fix internally? Thank you.

William
jiml8's Avatar
Senior Member with 1,514 posts.
 
Join Date: Jul 2005
Experience: I've been at this for too long.
04-Feb-2006, 09:12 PM #2
In the https directory of the server that is supposed to be doing the http, put in an index.html page that does a redirect to the right server. Or, if you are running Apache, you could do a permanent redirect in the .htaccess file.
williamc's Avatar
Member with 60 posts.
 
Join Date: Jul 2004
Experience: Advanced
07-Feb-2006, 05:03 PM #3
missing something
Thanks for the reply. Here's what I did:
Went to the IIS directory tree.
Went into the default website
Properties for default website - enabled SSL
Created redirect.htm file to point to other internal server (code below)

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>API E-MAIL SERVER</title>
<meta http-equiv="REFRESH" content="1;url=https://192.168.101.9"></HEAD>
<BODY>
Loading... https://192.168.101.9
</BODY>
</HTML>

Now the problem is how to call this htm file when SSL isnt found on the default server. I tried adding it to the custom errors 403;4 but I figured thats the wrong place. Also did a URL redirect with it, but I'm pretty sure nothing is looking for this virtual directory. How do you point HTTPS traffic to a virtual directory that runs the redirect.htm file and points it to another internal server hosting SSL?

Default server pulls up http website just fine. Adding the https still gives Cannot find server or DNS Error.


William
Sequal7's Avatar
Computer Specs
Distinguished Member with 2,369 posts.
 
Join Date: Apr 2001
Location: Around the corner!
Experience: Including today?
07-Feb-2006, 05:24 PM #4
jiml8's Avatar
Senior Member with 1,514 posts.
 
Join Date: Jul 2005
Experience: I've been at this for too long.
07-Feb-2006, 09:30 PM #5
You don't have SSL deployed on the one server at all apparently.

I'm not sure what you do in that case since you are using IIS. Perhaps deploy it and then put in the redirect.

With Apache I believe you could redirect using an .htaccess in the root directory for the server. Don't know how to do it in IIS.
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

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

You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 08:53 PM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.