Forward non www to www domain

SYSTEM INFORMATION
OS type and version UBUNTU 22.04
Webmin version 2.021
Virtualmin version 7.7 PRO
Related packages SUGGESTED

Hello and good morning

I have my domain but whatever I do it shows as https://mydomain.com how do I redirect to https://www.mydomain.com?

Thank you

Under Server Configuration, just edit/add Website Redirects

Hello, Yes I found this section in Virtualmin but my question is how.

The URL at this website /$1 is not working, I tried different things and i get error message “Failed to save redirect : Missing or invalid destination URL or URL path”

Thank you for any clarification

The redirect I have in uses the URL at other website even though its at this website.

Hello Stefan1959 a big thank you. In fact your first solution worked. It did not work for me due to another issue with config in wordpress but once solved, all ok. Thank you so much.

1 Like

Wordress has its own config regarding the URL, may conflict for sure.

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.