Go Back   Trackpads Community > General Discussions > Computer and Technology > Web Design

Web Design Forums and discussions on webdesign

Web Design

Reply
 
LinkBack Thread Tools
Old 12-09-2004, 16:00   #1 (permalink)
Steven
Civilians

 
Default how to mask the domain

i've got a web application that is designed to be used by several clients.
each wants to make it look like the applicaiton is being run under their
domain. i don't want to give one copy of the applicaiton to each client and
have to worry about fixing bugs and doing upgrades across multiple
application distribtions, so i want to host the app off one server. short
of using frames, is there anything i can do to ensure that when the
application is requested from within acme.com, the browser's address bar
doesn't change over to myapp.com? yes, the web browser will leave the
client's domain when accessing my app, but as long as the browser's address
bar doesn't appear to change domains, i'm okay. is this do-able?

tks


 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Trackpads Information
Click to Visit
Old 12-09-2004, 19:00   #2 (permalink)
Average_Joe
Civilians

 
Default Re: how to mask the domain

In article <Bs6dnUqgn4HSOCXcRVn-2g@rogers.com>, Steven wrote:
> i've got a web application that is designed to be used by several clients.
> each wants to make it look like the applicaiton is being run under their
> domain. i don't want to give one copy of the applicaiton to each client and
> have to worry about fixing bugs and doing upgrades across multiple
> application distribtions, so i want to host the app off one server. short
> of using frames, is there anything i can do to ensure that when the
> application is requested from within acme.com, the browser's address bar
> doesn't change over to myapp.com? yes, the web browser will leave the
> client's domain when accessing my app, but as long as the browser's address
> bar doesn't appear to change domains, i'm okay. is this do-able?


Yes, depending on what myapp is, you could probably configure apache to
forward paths to other web servers. I can't recall the exact directives
(proxy or something to that effect) but that is one approach.

Another is to configure subdomains to point to the IP of your domain,
app.acme.com => myapp.com

Or, use some sort of port forwarding scheme.


You'll have to make sure all the URL's in myapp can cope with this.

Jamie
--
http://www.geniegate.com Custom web programming
User Management Solutions Perl / PHP / Java / UNIX

 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-11-2004, 10:00   #3 (permalink)
Toby Inkster
Civilians

 
Default Re: how to mask the domain

Steven wrote:

> i've got a web application that is designed to be used by several clients.
> each wants to make it look like the applicaiton is being run under their
> domain.


Use subdomains. If Customer A's domain name is customera.com and Customer
B's domain name is customerb.com, you ask them each to create subdomains
and point them at your server:

purchase.customera.com => 12.34.56.78
buying.customerb.com => 12.34.56.78

Then use the HTTP Host header to determine which customer the visitor is
visiting, which can be used to, e.g. set a colour scheme to match the
customer's corporate image.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-11-2004, 13:00   #4 (permalink)
Steven
Civilians

 
Default Re: how to mask the domain


"Toby Inkster" <usenet200412@tobyinkster.co.uk> wrote in message
news:pan.2004.12.11.10.21.37.246222@tobyinkster.co .uk...
> Steven wrote:
>
> > i've got a web application that is designed to be used by several

clients.
> > each wants to make it look like the applicaiton is being run under their
> > domain.

>
> Use subdomains. If Customer A's domain name is customera.com and Customer
> B's domain name is customerb.com, you ask them each to create subdomains
> and point them at your server:
>
> purchase.customera.com => 12.34.56.78
> buying.customerb.com => 12.34.56.78


interesting. i thought a subdomain had to be hosted from the same server.
tks for the tip.

>
> Then use the HTTP Host header to determine which customer the visitor is
> visiting, which can be used to, e.g. set a colour scheme to match the
> customer's corporate image.
>
> --
> Toby A Inkster BSc (Hons) ARCS
> Contact Me ~ http://tobyinkster.co.uk/contact
>



 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-13-2004, 10:00   #5 (permalink)
Michael Fesser
Civilians

 
Default Re: how to mask the domain

.oO(Steven)

>interesting. i thought a subdomain had to be hosted from the same server.
>tks for the tip.


Subdomains belong to the DNS, it doesn't matter which server they point
to. For example think of the mirror servers of some big sites:

www.php.net -> 64.246.30.37
us2.php.net -> 64.62.150.60
de2.php.net -> 217.172.179.156

This would be impossible if subdomains would have to be hosted on the
same machine.

Micha
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

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 On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Placing a mask within a cell Brian Microsoft Applications 3 06-24-2005 20:00
input mask for texboxes michael sofianos Microsoft Applications 2 02-18-2005 20:00
Add a reserved zone in a PPT mask Laurent Microsoft Applications 1 11-11-2004 22:55
free domain hosting / domain name co.nr : any catch? Thierry Web Design 0 07-30-2004 07:01
graphic mask rgreenup Microsoft Applications 2 06-16-2004 07:31


Community Information
Options
Quick Options
Trackpads Non-Commercial Ad
Copyright Information Click to Visit
Time
Server Time
All times are GMT -4. The time now is 09:55.
Copyright
Copyright Information
The header is based off of work by Vipixel.com and modified by this site. Trackpads and the Trackpads Logo are both Registered Trademarks of Jason Edwards and cannot be used without prior written permission.  The only exception is as a link back to this site. Trackpads is a private website run by a small legion of volunteers, 3 dogs, 12.5 cats and an army of small, super smart, bio-engineered mice with pointy hats and tutu's. Search Engine Friendly URLs by vBSEO 3.2.0 RC7
Archive Links
Archive Links
Page generated in 0.75291 seconds with 19 queries