Jump to content

Mask URL / Rewrite?


JasonHarper

Recommended Posts

Hello,

 

I've created a web application that customer subscribe to.  Because they are storing sensitive data, I am using SSL to secure the site.  Since I don't want to host a virtual directory/separate set of pages for each customer, I have a generic domain name/SSL that they then point a cname to:

 

My URL:  webapp.com

Their CNAME:  portal.mycompany.com

 

When they hit my server, I redirect them to https://webapp.com

 

However, many of the customers want to maintain their own URL in the browser bar and never want to see webapp.com.  THe only way I know to do this is to create a separate virtual site with its own set of pages and an SSL certificate issued for the customer's domain.  Is there any other way to do this so I can have their URL displayed in the browser bar?  The entire application is written in PHP and I'm using Apache on CentOS.

 

Thank you SO much for any help!

 

Jason

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.