{"id":28,"date":"2017-06-03T19:22:42","date_gmt":"2017-06-03T09:22:42","guid":{"rendered":"http:\/\/kswp01.azurewebsites.net\/?p=28"},"modified":"2019-08-18T18:59:54","modified_gmt":"2019-08-18T08:59:54","slug":"creating-a-wordpress-website-in-azure","status":"publish","type":"post","link":"https:\/\/kswp01.azurewebsites.net\/?p=28","title":{"rendered":"Create WordPress website on Azure"},"content":{"rendered":"<h3>Steps to create and secure a WordPress website on Azure<\/h3>\n<p><!--more--><\/p>\n<p>&nbsp;<\/p>\n<p>1. Click &#8220;New&#8221; button and search by &#8220;WordPress&#8221;.<\/p>\n<p><a href=\"\/wp-content\/uploads\/2017\/06\/1001.png\"><img loading=\"lazy\" class=\"aligncenter wp-image-39 size-large\" src=\"\/wp-content\/uploads\/2017\/06\/1001-1024x548.png\" alt=\"\" width=\"840\" height=\"450\" srcset=\"\/wp-content\/uploads\/2017\/06\/1001-1024x548.png 1024w, \/wp-content\/uploads\/2017\/06\/1001-300x161.png 300w, \/wp-content\/uploads\/2017\/06\/1001-768x411.png 768w, \/wp-content\/uploads\/2017\/06\/1001-1200x642.png 1200w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>2. Select &#8220;WordPress&#8221;.<\/p>\n<p><a href=\"\/wp-content\/uploads\/2017\/06\/1002.png\"><img loading=\"lazy\" class=\"aligncenter wp-image-40 size-large\" src=\"\/wp-content\/uploads\/2017\/06\/1002-1024x550.png\" alt=\"\" width=\"840\" height=\"451\" srcset=\"\/wp-content\/uploads\/2017\/06\/1002-1024x550.png 1024w, \/wp-content\/uploads\/2017\/06\/1002-300x161.png 300w, \/wp-content\/uploads\/2017\/06\/1002-768x413.png 768w, \/wp-content\/uploads\/2017\/06\/1002-1200x645.png 1200w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>3. Type necessary information and select the size.<\/p>\n<p><a href=\"\/wp-content\/uploads\/2017\/06\/1003.png\"><img loading=\"lazy\" class=\"aligncenter wp-image-41 size-large\" src=\"\/wp-content\/uploads\/2017\/06\/1003-1024x554.png\" alt=\"\" width=\"840\" height=\"454\" srcset=\"\/wp-content\/uploads\/2017\/06\/1003-1024x554.png 1024w, \/wp-content\/uploads\/2017\/06\/1003-300x162.png 300w, \/wp-content\/uploads\/2017\/06\/1003-768x415.png 768w, \/wp-content\/uploads\/2017\/06\/1003-1200x649.png 1200w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>4. Select the App Service<\/p>\n<p><a href=\"\/wp-content\/uploads\/2017\/06\/1004.png\"><img loading=\"lazy\" class=\"aligncenter wp-image-42 size-large\" src=\"\/wp-content\/uploads\/2017\/06\/1004-1024x533.png\" alt=\"\" width=\"840\" height=\"437\" srcset=\"\/wp-content\/uploads\/2017\/06\/1004-1024x533.png 1024w, \/wp-content\/uploads\/2017\/06\/1004-300x156.png 300w, \/wp-content\/uploads\/2017\/06\/1004-768x400.png 768w, \/wp-content\/uploads\/2017\/06\/1004-1200x625.png 1200w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>5. Click &#8220;Get Publish Profile&#8221; and download the publish profile.<br \/>\nNote : Use Chrome. Safari errors out if you try to download it.<\/p>\n<p><a href=\"\/wp-content\/uploads\/2017\/06\/1005.png\"><img loading=\"lazy\" class=\"aligncenter wp-image-43 size-large\" src=\"\/wp-content\/uploads\/2017\/06\/1005-1024x540.png\" alt=\"\" width=\"840\" height=\"443\" srcset=\"\/wp-content\/uploads\/2017\/06\/1005-1024x540.png 1024w, \/wp-content\/uploads\/2017\/06\/1005-300x158.png 300w, \/wp-content\/uploads\/2017\/06\/1005-768x405.png 768w, \/wp-content\/uploads\/2017\/06\/1005-1200x633.png 1200w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>6. Open the publish profile and locate the FTP url, username and password.<\/p>\n<pre>&lt;publishData&gt;&lt;publishProfile profileName=\"koichi001 - Web Deploy\" publishMethod=\"MSDeploy\" publishUrl=\"koichi001.scm.azurewebsites.net:443\" msdeploySite=\"koichi001\" userName=\"$koichi001\" userPWD=\"xxxxxxxx\" destinationAppUrl=\"http:\/\/koichi001.azurewebsites.net\" SQLServerDBConnectionString=\"\" mySQLDBConnectionString=\"\" hostingProviderForumLink=\"\" controlPanelLink=\"http:\/\/windows.azure.com\" webSystem=\"WebSites\"&gt;&lt;databases \/&gt;&lt;\/publishProfile&gt;&lt;publishProfile profileName=\"koichi001 - FTP\" publishMethod=\"FTP\" publishUrl=\"<strong><span style=\"color: #ff0000;\">ftp:\/\/xxxxxxxx.ftp.azurewebsites.windows.net\/site\/wwwroot<\/span><\/strong>\" ftpPassiveMode=\"True\" userName=\"<strong><span style=\"color: #ff0000;\">koichi001\\$koichi001<\/span><\/strong>\" userPWD=\"<strong><span style=\"color: #ff0000;\">xxxxxxxx<\/span><\/strong>\" destinationAppUrl=\"http:\/\/koichi001.azurewebsites.net\" SQLServerDBConnectionString=\"\" mySQLDBConnectionString=\"\" hostingProviderForumLink=\"\" controlPanelLink=\"http:\/\/windows.azure.com\" webSystem=\"WebSites\"&gt;&lt;databases \/&gt;&lt;\/publishProfile&gt;&lt;\/publishData&gt;<\/pre>\n<p>&nbsp;<\/p>\n<p>7. Edit the respective config files according to&nbsp;<a href=\"https:\/\/blogs.msdn.microsoft.com\/azureossds\/2016\/12\/26\/best-practices-for-wordpress-security-on-azure\/\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a> to secure the site.<\/p>\n<blockquote data-secret=\"ezQlQ3pdu0\" class=\"wp-embedded-content\"><p><a href=\"https:\/\/blogs.msdn.microsoft.com\/azureossds\/2016\/12\/26\/best-practices-for-wordpress-security-on-azure\/\">Best Practices for WordPress Security on Azure<\/a><\/p><\/blockquote>\n<p><iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" src=\"https:\/\/blogs.msdn.microsoft.com\/azureossds\/2016\/12\/26\/best-practices-for-wordpress-security-on-azure\/embed\/#?secret=ezQlQ3pdu0\" data-secret=\"ezQlQ3pdu0\" width=\"600\" height=\"338\" title=\"&#8220;Best Practices for WordPress Security on Azure&#8221; &#8212; Microsoft Azure Open Source Development Support Team Blog\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Steps to create and secure a WordPress website on Azure<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2,5],"tags":[],"_links":{"self":[{"href":"https:\/\/kswp01.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/posts\/28"}],"collection":[{"href":"https:\/\/kswp01.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kswp01.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kswp01.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kswp01.azurewebsites.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=28"}],"version-history":[{"count":17,"href":"https:\/\/kswp01.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/posts\/28\/revisions"}],"predecessor-version":[{"id":283,"href":"https:\/\/kswp01.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/posts\/28\/revisions\/283"}],"wp:attachment":[{"href":"https:\/\/kswp01.azurewebsites.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=28"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kswp01.azurewebsites.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=28"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kswp01.azurewebsites.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=28"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}