Site icon Sibeesh Passion

Change your Azure Website URLto your cname for all Posts and Categories

In this article we will learn how we can change our website URL which we have hosted in Azure. And here I am using WordPress as my CMS, so I will show you how you can set this in WordPress settings. I hope you will like it.

Background

If you are new to Azure please read here. Normally when we host our website in Azure, we need to create a web application where we need to select the application name and, so once you configured everything , your website URL will be something like sibeeshvenu.azurewebsites.net , we can change this and point to our CNAME by some procedure, that we will discuss in our next post. So what will happen is when you go for the above URL, it will just redirect to our CNAME (sibeeshpassion.com) . We will discuss that. Now even if you configure those, you need to set some settings in your wordpress to make our categories and post contains our CNAME in URL.

Steps

Login to your WordPress

WordPress login

Go to settings-> General.

WordPress Settings

Change the WordPress Address and Site Address.

WordPress Address

You can change it to your CNAME.

Change Your CNAME

Now if you see those category URL’s you will see it is pointing to your CNAME URL.

Category Pointing CNAME

That’s all folks . I will come with another set of Azure and WordPress article soon.

Conclusion

Did I miss anything that you may think which is needed? Could you find this post as useful? I hope you liked this article. Please share me your valuable suggestions and feedback.

Your turn. What do you think?

A blog isn’t a blog without comments, but do try to stay on topic. If you have a question unrelated to this post, you’re better off posting it on C# Corner, Code Project, Stack Overflow, Asp.Net Forum instead of commenting here. Tweet or email me a link to your question there and I’ll definitely try to help if I can.

Kindest Regards
Sibeesh Venu

Exit mobile version