How to Force Redirect Domains in DirectAdmin

by | Last Updated Jun 12, 2020 | 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.

How to Force Redirect Domains in DirectAdmin 1

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

How to Force Redirect Domains in DirectAdmin 2
In this Domain management page, click on the domain name.You can now see the Modify Domain page.
How to Force Redirect Domains in DirectAdmin 3

In 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 why our customers subscribed to higher plans. In this tutorial, I...

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 it to run. At Rovity, we offer domain level PHP settings that affect only a specific domain. That means you can enable PHP 7.4 to one of your websites if it is compatible with the latest...

read more
How to Enable DKIM in DirectAdmin?

How to Enable DKIM in DirectAdmin?

In this tutorial, you will learn how to Enable DKIM in your DirectAdmin account. Enabling DKIM helps you to have better e-mail deliverability. So, make sure you have DKIM enabled for all your outgoing e-mails. First, let us see what DKIM is and its advantages.What is...

read more

0 Comments

0 Comments

Submit a Comment

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