Jump to content

[SOLVED] Options other than iframes?


Guardian-Mage

Recommended Posts

Not sure where to put this, but...

 

I have a hosting package with 1&1 which I dislike. I have my main hosting package, and another package just for a domain. I currently have the seperate domain pointing to a subdomain within my main hosting package using iFrames. The only other option I see is using HTTP redirects which I don't want. With iFrames, it messes up my mime type, and it doesn't let me bookmark pages, everytime I press refresh it takes me back to index.html. Is it possible using DNS or CNAME with 1&1 to fix this so it acts normally?

 

Darylmahar.com using iFrames to connect to dm.northernlightstech.com

Link to comment
https://forums.phpfreaks.com/topic/104694-solved-options-other-than-iframes/
Share on other sites

sounds like you need a server alias(ServerAlias Darylmahar.com) for  dm.northernlightstech.com or a proxy. If they have mod_proxy enabled(I doubt it) you could use a proxy rewrite like this:

 

RewriteEngine On
RewriteRule ^(.+)$ http://dm.northernlightstech.com/$1 [P,L]

I am trying to use CNAMES right now, but my host is taking forever. I want darylmahar.com to show the content of dm.northernlightstech.com without using frames/redirects. I don't want anybody to know that their is a domain called dm.northernlightstech.com, only darylmahar.com

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.