So I have a server with an SSL certificate, in which I host a variety of scripts that interact with my CRM's API.
https://myserverdomain.com/script1, https://myserverdomain.com/script2, etc...
Each of these scripts would correspond to a different product, that would better be branded with it's own url. All of the products are handled through the same CRM.
http://myproductdomain1.com, http://myproductdomain2.com, etc.
An example flow would be:
- So they would start on myproductdomain1.com to get product info.
- Then when they go to order, be taken to the https://myserverdomain/script1 to take and process order.
- Finally, go back to http://myproductdomain1.com for a receipt.
I want to keep the sites secured the whole time as customer goes through the order process, and I want the display URL to be myproductdomain1.com throughout the whole process.
EDIT:
I am not knowledgable in this area at all, so I realize it is a broad question (if I knew more about it, I wouldn't have to ask a question lol).
Is there a way to keep all my scripts on my server, but show my pretty URL, while keeping the site secure?
I have seen this done through cloud flare, but I cannot figure out how it was done.
EXAMPLE:
To be very specific, I have two domains hosted on hostgator, myserverdomain.com and myproductdomain.com.
There is an order form page that runs a script located at: https://myserverdomain.com/order/orderform.php
I want it so that when a customer accesses that page, it will actually display https://myproductdomain.com/order.
myserverdomain.com has an SSL Certificate, and I am using cloudflare to route traffic through myproductdomain.com, which has flex ssl.
So in this configuration, as it possible to do what I am asking while maintaining a secure connection - meaning that the padlock will show the entire time?
If so, how do I configure it?