Configure Domain To Target Subfolder In Another Domain

Enter #CommunityTip & the error message you’re seeing to find Community Tips with advice and insight.

I would like to configure my domain in cloudflare to target a subfolder in another domain.

Hi @photodoxle,

There is a Community tutorial for this case:

You would only have to adapt it to suit your needs (on the subfolder).

If you want me to help you with this, just detail the real situation with the domain and directory names.

1 Like

Basically I want the domain “contrastbfa.com” to target the subfolder at “photodoxle.com/contrastbfa” I am using wordpress and I would also like for site to always be “contrsatbfa.com” and never “photodoxle.com/contrastbfa/*

I’ve done this with “relief-md.com” where it targets “photodoxle.com/reliefmd” but I don’t remember how I did it.

It is not recommended to share the IP of your origin servers publicly. I think you should remove the first image to avoid any possible problems.

In this case, it’s not just about redirecting one domain to another.

I guess you should contact your hosting provider - or wait in case some other Community member can help you with this issue.