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

24x7x30 Automated Backup

24x7x30 Automated Backup

This is a transcript of this video. Hello everyone, welcome back to another product update video. In this video, I am super excited to announce the availability of our newly improved backup solution. We have redesigned our internal...

read more
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



Submit a Comment

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