PDA

View Full Version : Masking a Domain Name forward.


RickJ
Aug 29, 2007, 03:03 AM
I've got this domain name forwarded with masking: Boxplate.com (http://www.boxplate.com)

... so it's masked from the url, but still showing in the code.

Is there a way to also hide it in the code?

Thanks!

RickJ
Aug 29, 2007, 03:05 AM
PS - an option is to make them an addon domain in site space but I'm running out of room for addons.

retsoksirhc
Aug 29, 2007, 11:36 AM
Are you using ZoneEdit to forward? Theirs is the best I've ever used, but it still doesn't replace the URLs.

You could set up an Alias record (CNAME) for Boxplate.com (http://www.boxplate.com) and boxplate.com to point to wherever it's hosted now, if it's a full domain name, without any subdirectories. That way, if you used relative links in your code (without the http://), and the web server was set up correctly, it would read in that domain name from the HTTP header, and parse out all the links based on it. I don't really know if there's another way to do it without writing a script to replace all the link names.

RickJ
Aug 30, 2007, 06:21 AM
Boxplate is not hosted. It's just pointing to a page on another site of mine.

I could set it up as an addon domain so that it would be truly a site of it's own but I'm running out of space for addons.

... so I'll just leave it as it is. I just hate leaving unhosted domain names hanging out there with godaddy advertising on them :)