Learning and Sharing
  • Home
  • Blog
  • Linux
  • macOS
  • VirtualBox
  • VMware
  • Windows
  • Series
    • Symantec
    • Intune
    • Microsoft Azure
    • Powershell
    • VirtualBox
    • VMware
    • PowerShell Learning
    • Microsoft Graph
  • More
    • Auto Installation
    • AEC Installation
  • Contact
No Result
View All Result
  • Home
  • Blog
  • Linux
  • macOS
  • VirtualBox
  • VMware
  • Windows
  • Series
    • Symantec
    • Intune
    • Microsoft Azure
    • Powershell
    • VirtualBox
    • VMware
    • PowerShell Learning
    • Microsoft Graph
  • More
    • Auto Installation
    • AEC Installation
  • Contact
No Result
View All Result
No Result
View All Result

How to Redirect Non-www to www In CyberPanel

May 3, 2023
in Blog, CyberPanel, Linux
0
ADVERTISEMENT

Table of Contents

In some cases, you want to redirect from Non-www to www through a Cyber panel on your website. When a visitor type https://bonguides.com in the url address bar then hit enter. He would be redirect to https://www.bonguides.com instead of https://bonguides.com.

Add the A Records

Before you begin, you need to add an A record for the www version of your site. We use Cloudflare to point the IP address to our domain. This step would be vary depending on your domain registrar.

Note Note: The www version of the site should be using the same public IP address with the non-www version.
H6KgeixIeaInVre6aGabYa4UIISDcTTJ73e1ErCVIRwkz0WSQltbP4g6KA9j

Redirect Non-Www To Www In CyberPanel

1. Open the CyberPanel Dashboard | Websites | List Website.

2. Click on the Manage button given on the right corner so that you can manage the selected website and access all its files.

OshdRWBkgQn6mcjf1B8vivK2J0tgY63spciU0iE9u5WPuYe7rNnAlyJjvHjf

3. Go to the section of the configuration below where you will see the option of Rewrite Rules.

Hd6kUAthG6rBV4tKjpqEjMHk33gvpgx2W3iKji09mriV5Kko5AA4e53fIiUe

4. You have to select the Force NON-WWW -> WWW option in the Select Template section. After selecting, a simple code will be generated automatically in the below htaccess file which will redirect your website from NON-WWW -> WWW.

bwuc4CDRR8i3ymbnJJd7YF3zZ9fJcu5or8IeerscvOKEZTLTnblZgBD1e42q

5. Click Save Rewrite Rules button and then after opening your website, it will start redirecting to www automatically.

mdp2idhs8p0prsezehy1546678
5/5 - (1 vote)
Previous Post

How to Redirect HTTP to HTTPS in CyberPanel

Next Post

How to Redirect www to Non-www In CyberPanel

Related Posts

Ftr21

AzureAD, MSOnline, AzureADPreview and Microsoft Graph API with PowerShell Comparisons

September 23, 2023
Ftr21

How to Cleanup Microsoft.Graph PowerShell Modules in Windows

September 22, 2023
Ftr21

How to Fix Get-MgUser One or More Errors Occurred

September 22, 2023
Ftr38

How to Remove NuGet Package Provider Using PowerShell

September 20, 2023
Ftr21

Automatically Installs Microsoft Graph PowerShell Module if not Installed Already When Run a Script

September 21, 2023
Ftr5

How to Reinstall Microsoft Store in Windows after Uninstalling it with PowerShell

September 17, 2023

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • AzureAD, MSOnline, AzureADPreview and Microsoft Graph API with PowerShell Comparisons
  • How to Cleanup Microsoft.Graph PowerShell Modules in Windows
  • How to Fix Get-MgUser One or More Errors Occurred

Categories

Stay in Touch

Discord Server

Join the Discord server with the site members for all questions and discussions.

Telegram Community

Jump in Telegram server. Ask questions and discuss everything with the site members.

Youtube Channel

Watch more videos, learning and sharing with Leo ❤❤❤. Sharing to be better.

Newsletter

Join the movement and receive our weekly Tech related newsletter. It’s Free.

General

Microsoft Windows

Microsoft Office

VMware

VirtualBox

Technology

PowerShell

Microsoft 365

Microsoft Teams

Email Servers

Socials

Twitter

Telegram

YouTube

Discord

Copyright 2023 © All rights Reserved. Design by Leo with ❤

No Result
View All Result
  • Home
  • Linux
  • Intune
  • macOS
  • VMware
  • VirtualBox
  • Powershell
  • Windows 10
  • Windows 11
  • Microsoft 365
  • Microsoft Azure
  • Microsoft Office
  • Active Directory