How to Force Redirect Domains in DirectAdmin

by | Last Updated Mar 7, 2021 | DirectAdmin | 0 comments

Sometimes, you need to make sure your website needs to use www or without www.

Traditionally, one of the easiest ways was to write a redirection code in the .htaccess files.

But in this quick guide, I will show you how to redirect your website with www or non-www version, step by step.

You need to login to your DirectAdmin.

Domain Setup Icon DirectAdmin

Then click on the Domain Setup icon under the Account Manager Category.

Domain Management DirectAdmin

On this Domain management page, click on the domain name. You can now see the Modify Domain page.

Domain Force Redirect DirectAdmin

On this page, choose your preferred settings from the Force redirect dropdown menu.

Then click on the Modify button.

That’s it; your website will now either www or a non-www version without writing redirection codes anywhere.

Once you made this change, make sure that you have removed the hard-coded redirection if you may have.

We engineered our cloud infrastructure with Performance, Speed, Scalability, and Security in mind.

That’s why we built Rovity with AWS, CloudLinux OS, DirectAdmin, and LiteSpeed Web Server.

Come and experience the next generation of shared hosting on the cloud

By Gifty Antony

Gifty is passionate about Web Development and connected with various communities. She loves WordPress.

Check Out These Related Posts

How to Add New Domain to Your DirectAdmin?

How to Add New Domain to Your DirectAdmin?

Do you know you can host multiple domains with our higher plans like Gold and Diamonds? Having the ability to host more than one domain within the same DirectAdmin account is one of the primary reasons our customers subscribed to higher plans. This tutorial will show...

read more
How to Change PHP Settings in DirectAdmin?

How to Change PHP Settings in DirectAdmin?

Some of your applications, plugins, and themes would need specific PHP values for them to run. Rovity offers PHP versions from 4.4 to 8.0. So, you can take advantage of the latest and greatest performance and security enhancements while keeping your old PHP...

read more

0 Comments

0 Comments

Submit a Comment

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