Learning and Sharing
  • Home
  • Blog
  • Linux
  • macOS
  • Virtualization
    • VMware
    • VirtualBox
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server
  • 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
  • Virtualization
    • VMware
    • VirtualBox
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server
  • 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

Running Hyper-V and VMware Workstation on The Same Machine

August 15, 2024

How to Uninstall All Autodesk Products At Once Silently

July 29, 2024
Ftr5

How to Uninstall the Autodesk Genuine Service on Windows

July 29, 2024
Ftr19

How to Fix Windows Cannot Read the ProductKey From the Unattend Answer File in VirtualBox

July 26, 2024
Ftr25

How to Update Windows Terminal in Windows 10/11

July 26, 2024

How to Disable The Beep Sound in WSL Terminal on Windows

July 26, 2024

Leave a Reply Cancel reply

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

Recent Posts

  • How To Turn On uBlock Origin Extension in Chrome (2025)
  • Images Hidden Due To Mature Content Settings In CivitAI
  • Azure OpenAI vs Azure AI Hub, How to Choose the Right One for Your Needs

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

Copyright 2025 © 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

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