Domain redirect: proper instructions

dash-dns
#1

Hi,

I have a domain, properly working: domain.eu

I have a second domain to forward to the first: domain.com

On the second domain, I hava to:

Is that correct?

#2

Looks like it should work to me…

1 Like
#3

Looks pretty all right to me.

Actually one page rule for *domain.com/* is sufficient.

3 Likes
#4

Thank you very much, I’ll wait for DNS propagation to check it all.

1 Like
#5

If you post the domain names we can check.

#6

Hi,

With only one Page Rule

(*domain.com/* 301 https://www.domain.eu/$1)

it forwarded domain.com well, but forwarded www.domain.com to https://www.domain.eu/www (adding www to the url).
So I had to split the page rules.

#7

One rule should still work if you use $2.

#8

Ok, shame on me, so first * would go into $1 (that explains the added www), the second would go into $2.

Thank you very much.

#9

No worries and yes, your observation is correct.

closed #10

This topic was automatically closed after 14 days. New replies are no longer allowed.