Login
Register
Home
Wiki Knowledge Base
FreeDNS
Facebook
Linux Support
Control Web Panel
MENU
Home
Help
Search
Login
Register
Control Web Panel
»
WebPanel
»
Apache
»
Redirect http requests to https and domain.com requests to www.domain.com
« previous
next »
Print
Pages: [
1
]
Author
Topic: Redirect http requests to https and domain.com requests to www.domain.com (Read 3756 times)
0 Members and 1 Guest are viewing this topic.
wmac
Newbie
Posts: 13
Redirect http requests to https and domain.com requests to www.domain.com
«
on:
September 07, 2020, 08:18:56 PM »
Hello
I want to permanently redirect requests starting with the following to
https://www.domain.com
http://domain.com
http://www.domain.com
https://domain.com
How should I edit my apache config files?
Thank you
Logged
Igor S.
The System Administrator for any GNU/Linux
Global Moderator
Hero Member
Posts: 1418
Re: Redirect http requests to https and domain.com requests to www.domain.com
«
Reply #1 on:
September 12, 2020, 08:53:35 AM »
Hi, the best way to use a plugin of your CMS
You can also use .htaccess and set the redirect or if nginx in use CWPadmin => Apache Settings => WebServer Main Conf => http2 force https
Logged
You can ask me to solve any problem with your server for some money in pm
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services
Print
Pages: [
1
]
« previous
next »
Control Web Panel
»
WebPanel
»
Apache
»
Redirect http requests to https and domain.com requests to www.domain.com