{"id":5127,"date":"2016-08-29T10:44:52","date_gmt":"2016-08-29T10:44:52","guid":{"rendered":"https:\/\/cpanelplesk.com\/wp62\/?p=5127"},"modified":"2021-02-03T08:19:14","modified_gmt":"2021-02-03T08:19:14","slug":"add-new-site-apache-based-centos-server","status":"publish","type":"post","link":"https:\/\/cpanelplesk.com\/wp62\/add-new-site-apache-based-centos-server\/","title":{"rendered":"How to add new site into your Apache-based CentOS server"},"content":{"rendered":"<p style=\"text-align: left;\"><span style=\"color: #000000;\">Today we will see how to add new site and setup Apache virtual host file on CentOS server.<\/span><!--more--><\/p>\n<p style=\"text-align: left;\"><span style=\"color: #000000;\">If you want to add several websites with different domain\/subdomains, then you must know that adding and editing virtual hosts file on an Apache-based server is very useful. \u00a0so let\u2019s add the first new domain name to our Apache based CentOS server.<\/span><\/p>\n<h2>prerequisites<\/h2>\n<p><span style=\"color: #000000;\">Before proceeding further\u00a0here are some prerequisites.<\/span><\/p>\n<ul>\n<li><span style=\"color: #000000;\">CentOS server with any version,my playground server is CentOS 6.5.<\/span><\/li>\n<li><span style=\"color: #000000;\">Basic skills and know <a href=\"https:\/\/cpanelplesk.com\/wp62\/using-putty-connect-server-ssh-windows\/\">how to use putty<\/a><\/span><\/li>\n<li><span style=\"color: #000000;\">Your server should have some necessary software to host a website.like Apache, MySQL and PHP.You can check my previous post on<\/span> <a href=\"https:\/\/cpanelplesk.com\/wp62\/how-to-install-linux-apache-mysql-php-on-centos-6-x\/\">how to Install LAMP stack on centOS<\/a>.<\/li>\n<li><span style=\"color: #000000;\">A cup of coffee\u00a0and 20 minutes of your time<\/span><\/li>\n<\/ul>\n<h2 style=\"text-align: left;\">How to add new site into Apache based CentOS server:<\/h2>\n<ol class=\"steps\">\n<li>\n<p style=\"text-align: left;\"><span style=\"color: #000000;\">Login to your server and follow my previous guide about <a href=\"https:\/\/cpanelplesk.com\/wp62\/basic-centos-configurations-building-working-server\/\">Basic setup for CentOS before you build a working server<\/a>. You may follow that tutorial for some basic security tweak on your server.<\/span><\/p>\n<p style=\"text-align: left;\"><span style=\"color: #000000;\">Run this command to go to the root directory:<\/span><\/p>\n<div class=\"command-sh\">\n<pre>cd ~<\/pre>\n<\/div>\n<\/li>\n<li>\n<p style=\"text-align: left;\">Now w<span style=\"color: #000000;\">e will add new document root directory for the new website. The \u201cdocument root\u201d here is a directory where you keep all files of your website. For that, you can use below command:<\/span><\/p>\n<div class=\"command-sh\">\n<pre>mkdir -p \/var\/www\/domain.com\/public_html\r\nor,..\r\nmkdir -p \/var\/www\/domain.com\/htdocs\r\n<\/pre>\n<\/div>\n<p style=\"text-align: left;\"><span style=\"color: #000000;\">Don&#8217;t forget to replace \u201cdomain.com\u201d with your real domain name.<\/span><\/p>\n<p style=\"text-align: left;\"><span style=\"color: #000000;\">In this example I am using \u201c\u201d as my domain Because that is currently unused so I can use it for my testing purpose.<\/span><br \/>\n<span style=\"color: #000000;\"> You can use either the \u201cpublic_html\u201d or \u201chtdocs\u201d as the name of your directory but in this example I\u2019ll use \u201cpublic_html\u201d.<\/span><\/p>\n<\/li>\n<li><span style=\"color: #000000;\"> Give ownership permissions to the user, use this command:<\/span>\n<div class=\"command-sh\">\n<pre>chown -R root:root \/var\/www\/domain.com\/public_html<\/pre>\n<\/div>\n<p style=\"text-align: left;\"><a href=\"https:\/\/cpanelplesk.com\/wp62\/add-new-site-apache-based-centos-server\/add-new-site-into-centos\/\" rel=\"attachment wp-att-5140\"><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-full wp-image-5140 pleslwp\" src=\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2016\/08\/add-new-site-into-centos.jpg\" alt=\"add new site into centos\" width=\"643\" height=\"93\" srcset=\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2016\/08\/add-new-site-into-centos.jpg 643w, https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2016\/08\/add-new-site-into-centos-300x43.jpg 300w\" sizes=\"(max-width: 643px) 100vw, 643px\" \/><\/a><\/p>\n<\/li>\n<li>\n<p style=\"text-align: left;\"><span style=\"color: #000000;\">Now change permissions for www directory. This is necessary to allow anyone who is\u00a0visiting your site\u00a0to be able to access your website. Use this simple command:<\/span><\/p>\n<div class=\"command-sh\">\n<pre>chmod 755\/var\/www<\/pre>\n<p>M<\/p><\/div>\n<p><span style=\"color: #000000;\">It will look like this:<\/span><\/p>\n<p><a href=\"https:\/\/cpanelplesk.com\/wp62\/add-new-site-apache-based-centos-server\/add-new-site-into-centos1\/\" rel=\"attachment wp-att-5142\"><img decoding=\"async\" class=\"alignnone size-full wp-image-5142 pleslwp\" src=\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2016\/08\/Add-new-site-into-Centos1.jpg\" alt=\"Add new site into Centos1\" width=\"643\" height=\"100\" srcset=\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2016\/08\/Add-new-site-into-Centos1.jpg 643w, https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2016\/08\/Add-new-site-into-Centos1-300x47.jpg 300w\" sizes=\"(max-width: 643px) 100vw, 643px\" \/><\/a><\/li>\n<li><span style=\"color: #000000;\">Create\u00a0Apache virtual hosts file for the new domain. Now\u00a0we have to create\u00a0and configure Apache virtual hosts file to add our new website. In this step\u00a0we\u00a0need to edit \u201chttpd.conf\u201d file. Run\u00a0this command:<\/span>\n<div class=\"command-sh\">\n<pre>nano \/etc\/httpd\/conf\/httpd.conf<\/pre>\n<\/div>\n<div>\u00a0<span style=\"color: #000000;\">Once Nano editor screen appears, scroll down and find following lines:<\/span><\/div>\n<div class=\"command-sh\">\n<pre>#Listen 12.34.56.78:80\r\nListen 80\r\n<\/pre>\n<\/div>\n<div>\n<div id=\"highlighter_845227\" class=\"syntaxhighlighter shell\">\n<p><span style=\"color: #000000;\">Make sure its listening on port 80.<\/span><a href=\"https:\/\/cpanelplesk.com\/wp62\/add-new-site-apache-based-centos-server\/add-new-site-into-centos-2\/\" rel=\"attachment wp-att-5143\"><img decoding=\"async\" class=\"alignnone size-full wp-image-5143 pleslwp\" src=\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2016\/08\/add-new-site-into-centos-2.jpg\" alt=\"add new site into centos 2\" width=\"576\" height=\"136\" srcset=\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2016\/08\/add-new-site-into-centos-2.jpg 576w, https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2016\/08\/add-new-site-into-centos-2-300x71.jpg 300w\" sizes=\"(max-width: 576px) 100vw, 576px\" \/><\/a><\/p>\n<p><span style=\"color: #000000;\">Next, scroll down again or hit Control+V until you see this section below:<\/span><\/p>\n<p><a href=\"https:\/\/cpanelplesk.com\/wp62\/add-new-site-apache-based-centos-server\/add-new-site-into-centos3\/\" rel=\"attachment wp-att-5144\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5144 pleslwp\" src=\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2016\/08\/Add-new-site-into-CentOS3.jpg\" alt=\"Add new site into CentOS3\" width=\"639\" height=\"154\" srcset=\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2016\/08\/Add-new-site-into-CentOS3.jpg 639w, https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2016\/08\/Add-new-site-into-CentOS3-300x72.jpg 300w\" sizes=\"(max-width: 639px) 100vw, 639px\" \/><\/a><\/p>\n<header>\n<p class=\"title single-title\"><span style=\"color: #000000;\">Now remove \u00a0the <strong>#<\/strong> symbol. So it\u2019ll look like this:<\/span><\/p>\n<div class=\"command-sh\">\n<pre>NameVirtualHost *:80\r\n#\r\n# NOTE: NameVirtualHost cannot be used without a port specifier\r\n# (e.g. :80) if mod_ssl is being used, due to the nature of the\r\n# SSL protocol.<\/pre>\n<\/div>\n<\/header>\n<div class=\"post-single-content box mark-links\">\n<p><span style=\"color: #000000;\">This\u00a0means any IP address going through port 80 will be a virtual host. If your server has more than one IPs, you can simply replace the <strong>*<\/strong> symbol with your IP.<\/span><\/p>\n<p><span style=\"color: #000000;\">Once done, right below that section you\u2019ll see:<\/span><\/p>\n<p><a href=\"https:\/\/cpanelplesk.com\/wp62\/add-new-site-apache-based-centos-server\/add-new-site-centos4\/\" rel=\"attachment wp-att-5145\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5145 pleslwp\" src=\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2016\/08\/add-new-site-centos4.jpg\" alt=\"add new site centos4\" width=\"641\" height=\"202\" srcset=\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2016\/08\/add-new-site-centos4.jpg 641w, https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2016\/08\/add-new-site-centos4-300x95.jpg 300w\" sizes=\"(max-width: 641px) 100vw, 641px\" \/><\/a><\/p>\n<h3>Important things to do:<\/h3>\n<ol>\n<li><span style=\"color: #000000;\">Remove all the # symptoms before the &lt;VirtualHost *:80&gt; until &lt;\/VirtualHost&gt;.<\/span><\/li>\n<li><span style=\"color: #000000;\">Change the existing email id at \u201cServerAdmin\u201d line.<\/span><\/li>\n<li><span style=\"color: #000000;\">Change the documents root path \u201cDocumentRoot\u201d line.<\/span><\/li>\n<li><span style=\"color: #000000;\">Set up the servers with more elaborate ErrorLog and CustomLog lines.It will be a great option to log issues that occur while maintaining your web server.<\/span><\/li>\n<\/ol>\n<p><span style=\"color: #000000;\">Now it will look like this:<\/span><\/p>\n<p><a href=\"https:\/\/cpanelplesk.com\/wp62\/add-new-site-apache-based-centos-server\/add-new-site-into-centos5\/\" rel=\"attachment wp-att-5146\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5146 pleslwp\" src=\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2016\/08\/add-new-site-into-centos5.jpg\" alt=\"add new site into centos5\" width=\"638\" height=\"237\" srcset=\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2016\/08\/add-new-site-into-centos5.jpg 638w, https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2016\/08\/add-new-site-into-centos5-300x111.jpg 300w\" sizes=\"(max-width: 638px) 100vw, 638px\" \/><\/a><\/p>\n<p><span style=\"color: #000000;\">That\u2019s it. Now save and exit the nano editor.<\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/li>\n<li><span style=\"color: #000000;\"> Finally restart Apache service but first issue this command:<\/span>\n<div class=\"command-sh\">\n<pre>apachectl -k stop<\/pre>\n<\/div>\n<div>\u00a0<span style=\"color: #000000;\">That will kill all running Apache processes. Next issue this command:<\/span><\/div>\n<div>\n<div class=\"command-sh\">\n<pre>service httpd start\r\nor\r\n\/etc\/init.d\/httpd\r\n<\/pre>\n<\/div>\n<p><span style=\"color: #000000;\">You\u2019ll see the OK message indicating everything\u2019s just fine and your server is ready to host a live website.<\/span><\/p>\n<\/div>\n<\/li>\n<li><span style=\"color: #000000;\">Now we give it a test. Start your web browser type the domain name for which you did all these things. This will open a virtual view of the domain \u00a0and later with further modifications and add-ons you can absolutely make use of the website which goes live for everyone!<\/span>\n<div class=\"post-single-content box mark-links\"><span style=\"color: #000000;\">\u00a0<\/span><\/div>\n<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Today we will see how to add new site and setup Apache virtual host file on CentOS server. [&#8230;]<\/p>\n<p><a class=\"understrap-read-more-link\" href=\"https:\/\/cpanelplesk.com\/wp62\/add-new-site-apache-based-centos-server\/\">Continue Reading&#8230;<\/a><\/p>\n","protected":false},"author":2,"featured_media":4621,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[],"class_list":["post-5127","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to add new site into your Apache-based CentOS server - cPanel Plesk<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cpanelplesk.com\/wp62\/add-new-site-apache-based-centos-server\/\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"How to add new site into your Apache-based CentOS server - cPanel Plesk\" \/>\n<meta name=\"twitter:description\" content=\"Today we will see how to add new site and setup Apache virtual host file on CentOS server. [...]Continue Reading...\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2016\/06\/Centos7-root-password.png\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Seemab Saleem\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/add-new-site-apache-based-centos-server\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/add-new-site-apache-based-centos-server\/\"},\"author\":{\"name\":\"Seemab Saleem\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/73d573cc7eaaf6625cf0dbd72191a648\"},\"headline\":\"How to add new site into your Apache-based CentOS server\",\"datePublished\":\"2016-08-29T10:44:52+00:00\",\"dateModified\":\"2021-02-03T08:19:14+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/add-new-site-apache-based-centos-server\/\"},\"wordCount\":609,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13\"},\"image\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/add-new-site-apache-based-centos-server\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2016\/06\/Centos7-root-password.png\",\"articleSection\":[\"Linux\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/add-new-site-apache-based-centos-server\/\",\"url\":\"https:\/\/cpanelplesk.com\/wp62\/add-new-site-apache-based-centos-server\/\",\"name\":\"How to add new site into your Apache-based CentOS server - cPanel Plesk\",\"isPartOf\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/add-new-site-apache-based-centos-server\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/add-new-site-apache-based-centos-server\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2016\/06\/Centos7-root-password.png\",\"datePublished\":\"2016-08-29T10:44:52+00:00\",\"dateModified\":\"2021-02-03T08:19:14+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/add-new-site-apache-based-centos-server\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/cpanelplesk.com\/wp62\/add-new-site-apache-based-centos-server\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/add-new-site-apache-based-centos-server\/#primaryimage\",\"url\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2016\/06\/Centos7-root-password.png\",\"contentUrl\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2016\/06\/Centos7-root-password.png\",\"width\":250,\"height\":250},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/add-new-site-apache-based-centos-server\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/cpanelplesk.com\/wp62\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to add new site into your Apache-based CentOS server\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#website\",\"url\":\"https:\/\/cpanelplesk.com\/wp62\/\",\"name\":\"cPanel Plesk\",\"description\":\"Blog on famous hosting control panels\",\"publisher\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/cpanelplesk.com\/wp62\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13\",\"name\":\"Farooq Omer\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png\",\"contentUrl\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png\",\"width\":300,\"height\":44,\"caption\":\"Farooq Omer\"},\"logo\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/73d573cc7eaaf6625cf0dbd72191a648\",\"name\":\"Seemab Saleem\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/6a87ff2e53b03e6839250e5278a6bd46?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/6a87ff2e53b03e6839250e5278a6bd46?s=96&d=mm&r=g\",\"caption\":\"Seemab Saleem\"},\"description\":\"Linux Server Administrator, Web Hosting engineer. I'm dealing with Linux servers since 2014. I started this blog to share the work i love with the world . let me know if you need any assistance. Thanks!!\",\"sameAs\":[\"https:\/\/cpanelplesk.com\/wp62\"],\"url\":\"https:\/\/cpanelplesk.com\/wp62\/author\/cmb\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to add new site into your Apache-based CentOS server - cPanel Plesk","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:\/\/cpanelplesk.com\/wp62\/add-new-site-apache-based-centos-server\/","twitter_card":"summary_large_image","twitter_title":"How to add new site into your Apache-based CentOS server - cPanel Plesk","twitter_description":"Today we will see how to add new site and setup Apache virtual host file on CentOS server. [...]Continue Reading...","twitter_image":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2016\/06\/Centos7-root-password.png","twitter_misc":{"Written by":"Seemab Saleem","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/cpanelplesk.com\/wp62\/add-new-site-apache-based-centos-server\/#article","isPartOf":{"@id":"https:\/\/cpanelplesk.com\/wp62\/add-new-site-apache-based-centos-server\/"},"author":{"name":"Seemab Saleem","@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/73d573cc7eaaf6625cf0dbd72191a648"},"headline":"How to add new site into your Apache-based CentOS server","datePublished":"2016-08-29T10:44:52+00:00","dateModified":"2021-02-03T08:19:14+00:00","mainEntityOfPage":{"@id":"https:\/\/cpanelplesk.com\/wp62\/add-new-site-apache-based-centos-server\/"},"wordCount":609,"commentCount":0,"publisher":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13"},"image":{"@id":"https:\/\/cpanelplesk.com\/wp62\/add-new-site-apache-based-centos-server\/#primaryimage"},"thumbnailUrl":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2016\/06\/Centos7-root-password.png","articleSection":["Linux"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/cpanelplesk.com\/wp62\/add-new-site-apache-based-centos-server\/","url":"https:\/\/cpanelplesk.com\/wp62\/add-new-site-apache-based-centos-server\/","name":"How to add new site into your Apache-based CentOS server - cPanel Plesk","isPartOf":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#website"},"primaryImageOfPage":{"@id":"https:\/\/cpanelplesk.com\/wp62\/add-new-site-apache-based-centos-server\/#primaryimage"},"image":{"@id":"https:\/\/cpanelplesk.com\/wp62\/add-new-site-apache-based-centos-server\/#primaryimage"},"thumbnailUrl":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2016\/06\/Centos7-root-password.png","datePublished":"2016-08-29T10:44:52+00:00","dateModified":"2021-02-03T08:19:14+00:00","breadcrumb":{"@id":"https:\/\/cpanelplesk.com\/wp62\/add-new-site-apache-based-centos-server\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cpanelplesk.com\/wp62\/add-new-site-apache-based-centos-server\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cpanelplesk.com\/wp62\/add-new-site-apache-based-centos-server\/#primaryimage","url":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2016\/06\/Centos7-root-password.png","contentUrl":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2016\/06\/Centos7-root-password.png","width":250,"height":250},{"@type":"BreadcrumbList","@id":"https:\/\/cpanelplesk.com\/wp62\/add-new-site-apache-based-centos-server\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cpanelplesk.com\/wp62\/"},{"@type":"ListItem","position":2,"name":"How to add new site into your Apache-based CentOS server"}]},{"@type":"WebSite","@id":"https:\/\/cpanelplesk.com\/wp62\/#website","url":"https:\/\/cpanelplesk.com\/wp62\/","name":"cPanel Plesk","description":"Blog on famous hosting control panels","publisher":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cpanelplesk.com\/wp62\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13","name":"Farooq Omer","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/","url":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png","contentUrl":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png","width":300,"height":44,"caption":"Farooq Omer"},"logo":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/"}},{"@type":"Person","@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/73d573cc7eaaf6625cf0dbd72191a648","name":"Seemab Saleem","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/6a87ff2e53b03e6839250e5278a6bd46?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6a87ff2e53b03e6839250e5278a6bd46?s=96&d=mm&r=g","caption":"Seemab Saleem"},"description":"Linux Server Administrator, Web Hosting engineer. I'm dealing with Linux servers since 2014. I started this blog to share the work i love with the world . let me know if you need any assistance. Thanks!!","sameAs":["https:\/\/cpanelplesk.com\/wp62"],"url":"https:\/\/cpanelplesk.com\/wp62\/author\/cmb\/"}]}},"_links":{"self":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/posts\/5127","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/comments?post=5127"}],"version-history":[{"count":0,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/posts\/5127\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/media\/4621"}],"wp:attachment":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/media?parent=5127"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/categories?post=5127"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/tags?post=5127"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}