Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Can secure and normal web pages be hosted in the same domain?

My sites has index.php account.php work.php

Right now all of them are accessible from http://

In future I wish only one of the pages "account.php" to be accessed from https://

Will that be possible? Or will all the pages be only accessible from https (because of the ssl certificate installed).

share|improve this question
    
You could probably get a little more specific instructions on where to start looking if you provided your OS and what web server you're running –  Safado Oct 19 '12 at 19:18
    
-1 because anyone who has spent more than a few minutes on the Internet will have seen numerous examples of HTTP and HTTPS URLs from the same domains. –  John Gardeniers Oct 19 '12 at 23:08
add comment

2 Answers

yes, you can choose what portion is indexed via the site map for ssl.

share|improve this answer
add comment

Yes, it's possible (and common) to configure a web server to serve HTTP and HTTPS traffic from the same directory. You'd need to specifically protect account.php from being accessed over normal HTTP, likely with a redirect.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.