Click here to Skip to main content
15,887,585 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Suppose, https://www.domain.com is my website URL
When I have set redirection from
http://domain.com
or
http://www.domain.com
to
https://www.domain.com

it is working perfect
but when i am opening website with https:// and without www then it is giving
ERR_CONNECTION_REFUSED error.

Any response will be highly appriciable.
Posted

1 solution

And what's so wonderful here? Your redirection of http:// has nothing to do with https://; you can consider all HTTPS pages as a separate independent Web site. For redirection and other aspects of setup, address to the documentation on your HTTP server, hosting software or ask your hosting provider.

—SA
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900