Page 1 of 1
How to make Secure
Posted: Fri Mar 09, 2007 11:26 pm
by dharprog
Hi
I have a site of shop cart at check out i would like to make from site.com to secure.site.com. HOw can i make it and atleast what is this concept. Where it comes under which concept?
Thank You very much.
Posted: Fri Mar 09, 2007 11:34 pm
by feyd
SSL?
I'm having a tough time figuring out what you're asking.
Secure
Posted: Fri Mar 09, 2007 11:38 pm
by dharprog
Hi
What i'm asking is suppose, microsoft.com is there. I would like to make it as secure.microsoft.com. If anybody types secure.microsoft.com it has to come also. like a secured site.
Now Plz tell me what is this concept?
Thank You.
Posted: Fri Mar 09, 2007 11:56 pm
by feyd
Sorry, you're still not making any sense.
Maybe you're looking for $_SERVER['HTTPS']

Posted: Sat Mar 10, 2007 3:56 am
by mikeq
It sounds like you are talking about a subdomain
secure.example.com
mike.example.com
these are subdomains.
1. Your host has to allow you to create subdomains
2. You would need to make changes to the webserver config files, on apache it is something like
Code: Select all
<VirtualHost secure.example.com:443>
...
<VirtualHost>
Note 443 is the default SSL port, but you can specify any port you want.
This would be done behind the scenes if your host provider gives you a control panel to manage your domain.
3. The above in itself does not make a secure subdomain, you then have to have, again if on apache, mod_ssl and OpenSSL installed on the webserver.
4. You then require an SSL certificate. You can either generate one yourself using OpenSSL. However, this will generate a warning everytime someone browses to your webpage, something about you not being a trusted root authority. Self generated certificates are good for testing before purchasing one from a trusted root authority. To ensure users 'trust' you are who you say you are, you will NEED to purchase a certificate. These cot from about $60 upwards depending on what you want.
5. Once you have your certificate you then need to install this into your virtualhost section of the webserver config file.
Have fun