# CLOUDFLARE URL FORWARDING

# CLOUDFLARE URL FORWARDING

Sayfa Kurallarını kullanarak alt etki alanından ana etki alanına trafiği yeniden yönlendirmede 14 Adım’lık Cloudflare Süreci:

1. Login to Cloudflare
2. Use the drop-down menu in the upper left of your screen and click your domain that you want the redirect to take place on.
3. Click the DNS icon at the top of the screen.
4. Select `CNAME` using the drop-down options
5. Add the sub domain in `NAME`
6. Add your domain name in `Domain name`
7. Leave TTL as automatic and Cloudclare enabled, click `Add Record` button.
8. Click Page Rules icon
9. Click Create Page Rule button
10. Add `alexa.example.com/*` in the URL match field
11. Click + Add a Setting, find `Forwarding URL` and click it
12. Select the status code `301 - Permanent Redirect`
13. Add the Enter destination URL as `http://example.com/alexaSkillDemo`
14. Click Save and Deploy button.

Adımlarda belirtilen Cname kaydının aşağıda ki gibi eklenmesi gerekiyor.