{"id":4985,"date":"2019-01-18T10:36:29","date_gmt":"2019-01-18T10:36:29","guid":{"rendered":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?p=4985"},"modified":"2021-05-01T12:03:05","modified_gmt":"2021-05-01T12:03:05","slug":"install-and-configure-django-from-cpanel","status":"publish","type":"post","link":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/install-and-configure-django-from-cpanel\/","title":{"rendered":"Steps to Install and Configure Django from cPanel"},"content":{"rendered":"<p>A Python-based framework, Django enables you to create powerful websites in a quick and easy way. In this article, you will learn to install and configure Django using cPanel.<\/p>\n<p>After you complete the procedure of installation and configuration of Django, your site will be able to:<\/p>\n<ul>\n<li>Load a static homepage for the domain.<\/li>\n<li>Load the Django administration interface.<\/li>\n<li>Use a SQLite database.<\/li>\n<\/ul>\n<h3>Create A Python Application In cPanel<\/h3>\n<p>At first you will need to create a Python application within cPanel to host the Django project. To do this, follow these steps:<\/p>\n<p>1. Log in to <strong>cPanel<\/strong>.<\/p>\n<p>2. Go to the <strong>SOFTWARE<\/strong> section of the cPanel home screen and click on <strong>Setup Python App<\/strong>.<\/p>\n<p>3. Under <strong>Setup new application<\/strong>, select <strong>3.6<\/strong> in the <strong>Python<\/strong> version list box.<\/p>\n<p>4. Type <strong>myapp<\/strong> in the <strong>App Directory<\/strong> text box.<\/p>\n<p>5. Choose the domain you want to use in the<strong> App Domain\/URI<\/strong> list box and then leave the <strong>URI<\/strong> text box empty.<\/p>\n<p>6. Click on <strong>Setup<\/strong>. With this, cPanel creates the application and sets up the Python environment.<\/p>\n<p>7. Under <strong>Existing applications<\/strong>, copy the command from the <strong>Command<\/strong> for entering the virtual environment. This information will be needed in the following procedure.<\/p>\n<h3>Configure The Django Project<\/h3>\n<p>After creating the Python application in cPanel, you will need to do the following tasks at the command line:<\/p>\n<ul>\n<li>Install Django.<\/li>\n<li>Create and configure the Django project.<\/li>\n<li>Configure Passenger to work with the Django project.<\/li>\n<\/ul>\n<p><strong>For this, follow the below steps:<\/strong><\/p>\n<p>1. Log in to your account using <strong>SSH<\/strong>.<\/p>\n<p>2. Use the command you noted in the above step to activate the virtual environment. For example:<br \/>\n<strong>source \/home\/username\/virtualenv\/myapp\/3.6\/bin\/activate<\/strong><\/p>\n<div style=\"background-color: #e0ffff; padding: 10px;\"><strong>Note:<\/strong> Since the command prompt starts with (myapp:3.6), it indicates that you are working in the myapp virtual environment with Python 3.6. The following commands in this article are mentioned assuming that you are working in the Python virtual environment. In case you log out of your SSH session (or deactivate the virtual environment by using the deactivate command), ensure you reactivate the virtual environment prior to following any of the steps below.<\/div>\n<p>3. Type the below command to install <strong>Django<\/strong>:<\/p>\n<pre class=\"lang:default decode:true\">cd ~\r\npip install django==2.1.8<\/pre>\n<div style=\"background-color: #e0ffff; padding: 10px;\">\n<p>You can verify the version of Django installed, with the following command:<\/p>\n<pre class=\"lang:default decode:true\">django-admin --version\r\n<\/pre>\n<\/div>\n<p>4. Type the below command for creating a Django project:<\/p>\n<pre class=\"lang:default decode:true \">django-admin startproject myapp ~\/myapp<\/pre>\n<p>5. In order to create directories for the static project files, use the below commands:<\/p>\n<pre class=\"lang:default decode:true\">mkdir -p ~\/myapp\/templates\/static_pages\r\nmkdir ~\/myapp\/static_files\r\nmkdir ~\/myapp\/static_media<\/pre>\n<p>6. Open the <strong>~\/myapp\/myapp\/settings.py<\/strong> file by using the text editor, and then make the following changes:<\/p>\n<ul>\n<li>Find the <strong>ALLOWED_HOSTS<\/strong> line and then modify it as below. Replace example.com with your own domain name:<\/li>\n<\/ul>\n<pre class=\"lang:default decode:true\">ALLOWED_HOSTS = ['example.com']<\/pre>\n<ul>\n<li>Find the <strong>TEMPLATES<\/strong> block, and then modify it as below:<\/li>\n<\/ul>\n<pre class=\"lang:default decode:true\">TEMPLATES = [\r\n    {\r\n        'BACKEND': 'django.template.backends.django.DjangoTemplates',\r\n        'DIRS': [os.path.join(BASE_DIR,'templates')],\r\n        'APP_DIRS': True,\r\n        'OPTIONS': {\r\n            'context_processors': [\r\n                'django.template.context_processors.debug',\r\n                'django.template.context_processors.request',\r\n                'django.contrib.auth.context_processors.auth',\r\n                'django.contrib.messages.context_processors.messages',\r\n            ],\r\n        },\r\n    },\r\n]<\/pre>\n<ul>\n<li>Locate the <strong>STATIC_URL<\/strong> line, and then add the below lines beneath it:<\/li>\n<\/ul>\n<pre class=\"lang:default decode:true \">STATIC_URL = '\/static\/'\r\nSTATIC_ROOT = os.path.join(BASE_DIR, 'static_files')\r\n\r\nMEDIA_URL = '\/media\/'\r\nMEDIA_ROOT = os.path.join(BASE_DIR, \"static_media\")<\/pre>\n<p>7. Open the <strong>~\/myapp\/myapp\/urls.py<\/strong> file using the text editor. Delete the existing text and copy the below text into the file:<\/p>\n<pre class=\"lang:default decode:true\">from django.contrib import admin\r\nfrom django.urls import path, include\r\nfrom django.conf import settings\r\nfrom django.conf.urls.static import static\r\nfrom django.conf.urls import url\r\nfrom django.views.generic.base import TemplateView\r\n\r\nurlpatterns = [\r\n    path('admin\/', admin.site.urls),\r\n    url(r'^$', TemplateView.as_view(template_name='static_pages\/index.html'), name='home'),\r\n] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)\r\n\r\nurlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)<\/pre>\n<p>8. Open the <strong><em>~\/myapp\/passenger_wsgi.py<\/em><\/strong> file and do the following changes. Replace <strong><em>username<\/em> <\/strong>with your own account username:<\/p>\n<pre class=\"lang:default decode:true\">import myapp.wsgi\r\nSCRIPT_NAME = '\/home\/username\/myapp'\r\n\r\nclass PassengerPathInfoFix(object):\r\n    \"\"\"\r\n    Sets PATH_INFO from REQUEST_URI because Passenger doesn't provide it.\r\n    \"\"\"\r\n    def __init__(self, app):\r\n        self.app = app\r\n\r\n    def __call__(self, environ, start_response):\r\n        from urllib.parse import unquote\r\n        environ['SCRIPT_NAME'] = SCRIPT_NAME\r\n\r\n        request_uri = unquote(environ['REQUEST_URI'])\r\n        script_name = unquote(environ.get('SCRIPT_NAME', ''))\r\n        offset = request_uri.startswith(script_name) and len(environ['SCRIPT_NAME']) or 0\r\n        environ['PATH_INFO'] = request_uri[offset:].split('?', 1)[0]\r\n        return self.app(environ, start_response)\r\n\r\napplication = myapp.wsgi.application\r\napplication = PassengerPathInfoFix(application)<\/pre>\n<p>9. For creating a basic <strong>index.html<\/strong> file in the <em>~\/myapp\/templates\/static_pages<\/em> directory. The file can be as simple as a text file that says <strong>Hello world<\/strong>.<\/p>\n<p>10. Type the following command:<\/p>\n<pre class=\"lang:default decode:true \">python ~\/myapp\/manage.py migrate<\/pre>\n<p>11. Create and set up the superuser account:<\/p>\n<ul>\n<li>For this, type the below command:<\/li>\n<\/ul>\n<pre class=\"lang:default decode:true \">python ~\/myapp\/manage.py createsuperuser<\/pre>\n<ul>\n<li>Type the administrator username at the <strong>Username<\/strong> prompt and then press <strong>Enter<\/strong>.<\/li>\n<li>Type the administrator e-mail address at the <strong>Email address<\/strong> prompt and then press <strong>Enter<\/strong>.<\/li>\n<li>Type the administrator password at the <strong>Password<\/strong> prompt and then press <strong>Enter<\/strong>.<\/li>\n<\/ul>\n<p>12. To collect the static files, type the below commands:<\/p>\n<pre class=\"lang:default decode:true \">python ~\/myapp\/manage.py collectstatic<\/pre>\n<div style=\"background-color: #e0ffff; padding: 10px;\">In case you are asked for overwriting existing files, type <strong>yes<\/strong> and then press <strong>Enter<\/strong>.<\/div>\n<p>13. Restart the <strong>Python<\/strong> application in <strong>cPanel<\/strong>:<\/p>\n<ul>\n<li>Log in to <strong>cPanel<\/strong>.<\/li>\n<li>Click <strong>Setup Python App<\/strong> in the <strong>SOFTWARE<\/strong> section of the cPanel home screen.<\/li>\n<li>Locate the correct application under the <strong>Existing applications<\/strong> and then click <strong>Restart<\/strong>.<\/li>\n<\/ul>\n<p>14. Test the Django site:<\/p>\n<ul>\n<li>Go to http:\/\/www.example.com, where example.com represents your domain name. The index.html file should load.<\/li>\n<li>Go to http:\/\/www.example.com\/admin, where example.com represents your domain name. The Django administration login page should be displayed. Use the superuser credentials that you created earlier to log in.<\/li>\n<\/ul>\n<div style=\"background-color: #e0ffff; padding: 10px;\">\n<p>If there is a problem for the website to appear in your browser, run the passenger_wsgi.py file manually. For this, type the below command:<\/p>\n<pre class=\"lang:default decode:true \">python ~\/myapp\/passenger_wsgi.py<\/pre>\n<p>When you run this file, you should get any text output to the console. In case there are any errors, check the syntax in the configuration files.<\/p>\n<\/div>\n<p>That&#8217;s all! Now, you can easily install and configure Django from your cPanel.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A Python-based framework, Django enables you to create powerful websites in a quick and easy way. In this article, you will learn to install and configure Django using cPanel. After you complete the procedure of installation and configuration of Django, your site will be able to: Load a static homepage for the domain. Load the [&hellip;]<\/p>\n","protected":false},"author":16,"featured_media":4987,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[2174,2175,152,569],"class_list":["post-4985","post","type-post","status-publish","format-standard","has-post-thumbnail","placeholder-for-hentry","category-cpanel-faq","tag-configure-django","tag-configure-django-from-cpanel","tag-cpanel","tag-django-configuration"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Installing and Configure Django from cPanel | MilesWeb<\/title>\n<meta name=\"description\" content=\"Want to install and configure Django from cPanel? This article will help you install and configure Django using cPanel with simple steps.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/install-and-configure-django-from-cpanel\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Installing and Configure Django from cPanel | MilesWeb\" \/>\n<meta property=\"og:description\" content=\"Want to install and configure Django from cPanel? This article will help you install and configure Django using cPanel with simple steps.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/install-and-configure-django-from-cpanel\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"article:published_time\" content=\"2019-01-18T10:36:29+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-05-01T12:03:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/01\/Steps-to-Install-and-Configure-Django-on-a-Linux-Shared-Hosting-Account-min.png\" \/>\n\t<meta property=\"og:image:width\" content=\"800\" \/>\n\t<meta property=\"og:image:height\" content=\"445\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Pallavi Godse\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Pallavi Godse\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/install-and-configure-django-from-cpanel\/\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/install-and-configure-django-from-cpanel\/\",\"name\":\"Installing and Configure Django from cPanel | MilesWeb\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/install-and-configure-django-from-cpanel\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/install-and-configure-django-from-cpanel\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/01\/Steps-to-Install-and-Configure-Django-on-a-Linux-Shared-Hosting-Account-min.png\",\"datePublished\":\"2019-01-18T10:36:29+00:00\",\"dateModified\":\"2021-05-01T12:03:05+00:00\",\"author\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/7e3952607fa9eb4e82fea9f7cad9c945\"},\"description\":\"Want to install and configure Django from cPanel? This article will help you install and configure Django using cPanel with simple steps.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/install-and-configure-django-from-cpanel\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/install-and-configure-django-from-cpanel\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/install-and-configure-django-from-cpanel\/#primaryimage\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/01\/Steps-to-Install-and-Configure-Django-on-a-Linux-Shared-Hosting-Account-min.png\",\"contentUrl\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/01\/Steps-to-Install-and-Configure-Django-on-a-Linux-Shared-Hosting-Account-min.png\",\"width\":800,\"height\":445},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/install-and-configure-django-from-cpanel\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Steps to Install and Configure Django from cPanel\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/7e3952607fa9eb4e82fea9f7cad9c945\",\"name\":\"Pallavi Godse\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/eefc9695ea2b2c6e143c9c9919701aaa?s=96&d=blank&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/eefc9695ea2b2c6e143c9c9919701aaa?s=96&d=blank&r=g\",\"caption\":\"Pallavi Godse\"},\"description\":\"Pallavi is a Digital Marketing Executive at MilesWeb and has an experience of over 4 years in content development. She is interested in writing engaging content on business, technology, web hosting and other topics related to information technology.\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/pallavi\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Installing and Configure Django from cPanel | MilesWeb","description":"Want to install and configure Django from cPanel? This article will help you install and configure Django using cPanel with simple steps.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/install-and-configure-django-from-cpanel\/","og_locale":"en_GB","og_type":"article","og_title":"Installing and Configure Django from cPanel | MilesWeb","og_description":"Want to install and configure Django from cPanel? This article will help you install and configure Django using cPanel with simple steps.","og_url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/install-and-configure-django-from-cpanel\/","og_site_name":"Web Hosting FAQs by MilesWeb","article_published_time":"2019-01-18T10:36:29+00:00","article_modified_time":"2021-05-01T12:03:05+00:00","og_image":[{"width":800,"height":445,"url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/01\/Steps-to-Install-and-Configure-Django-on-a-Linux-Shared-Hosting-Account-min.png","type":"image\/png"}],"author":"Pallavi Godse","twitter_misc":{"Written by":"Pallavi Godse","Estimated reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/install-and-configure-django-from-cpanel\/","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/install-and-configure-django-from-cpanel\/","name":"Installing and Configure Django from cPanel | MilesWeb","isPartOf":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/install-and-configure-django-from-cpanel\/#primaryimage"},"image":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/install-and-configure-django-from-cpanel\/#primaryimage"},"thumbnailUrl":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/01\/Steps-to-Install-and-Configure-Django-on-a-Linux-Shared-Hosting-Account-min.png","datePublished":"2019-01-18T10:36:29+00:00","dateModified":"2021-05-01T12:03:05+00:00","author":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/7e3952607fa9eb4e82fea9f7cad9c945"},"description":"Want to install and configure Django from cPanel? This article will help you install and configure Django using cPanel with simple steps.","breadcrumb":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/install-and-configure-django-from-cpanel\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.co.uk\/hosting-faqs\/install-and-configure-django-from-cpanel\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/install-and-configure-django-from-cpanel\/#primaryimage","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/01\/Steps-to-Install-and-Configure-Django-on-a-Linux-Shared-Hosting-Account-min.png","contentUrl":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/01\/Steps-to-Install-and-Configure-Django-on-a-Linux-Shared-Hosting-Account-min.png","width":800,"height":445},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/install-and-configure-django-from-cpanel\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"Steps to Install and Configure Django from cPanel"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/7e3952607fa9eb4e82fea9f7cad9c945","name":"Pallavi Godse","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/eefc9695ea2b2c6e143c9c9919701aaa?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/eefc9695ea2b2c6e143c9c9919701aaa?s=96&d=blank&r=g","caption":"Pallavi Godse"},"description":"Pallavi is a Digital Marketing Executive at MilesWeb and has an experience of over 4 years in content development. She is interested in writing engaging content on business, technology, web hosting and other topics related to information technology.","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/pallavi\/"}]}},"views":994,"_links":{"self":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/4985","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=4985"}],"version-history":[{"count":9,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/4985\/revisions"}],"predecessor-version":[{"id":10669,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/4985\/revisions\/10669"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/media\/4987"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=4985"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=4985"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=4985"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}