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.
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.
Login to your WordPress
Go to settings-> General.
Change the WordPress Address and Site Address.
You can change it to your CNAME.
Now if you see those category URL’s you will see it is pointing to your CNAME URL.
That’s all folks . I will come with another set of Azure and WordPress article soon.
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.