{"id":626,"date":"2018-05-29T15:22:58","date_gmt":"2018-05-29T15:22:58","guid":{"rendered":"https:\/\/www.dewlance.com\/kb\/?p=626"},"modified":"2022-08-16T11:13:34","modified_gmt":"2022-08-16T11:13:34","slug":"how-install-caddy-webserver-on-ubuntu-16-04-step-by-step","status":"publish","type":"post","link":"https:\/\/www.dewlance.com\/blog\/how-install-caddy-webserver-on-ubuntu-16-04-step-by-step","title":{"rendered":"How install Caddy Webserver on Ubuntu 16.04 VPS &#8211; Step by step"},"content":{"rendered":"<p>Here is a guide for installing Caddy Web Server (with PHP-FPM) on Ubuntu 16.04:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-632\" src=\"https:\/\/www.dewlance.com\/kb\/wp-content\/uploads\/2018\/05\/installing-caddy-web-server-main-image.png\" alt=\"\" width=\"360\" height=\"213\" srcset=\"https:\/\/www.dewlance.com\/blog\/wp-content\/uploads\/2018\/05\/installing-caddy-web-server-main-image.png 360w, https:\/\/www.dewlance.com\/blog\/wp-content\/uploads\/2018\/05\/installing-caddy-web-server-main-image-200x118.png 200w, https:\/\/www.dewlance.com\/blog\/wp-content\/uploads\/2018\/05\/installing-caddy-web-server-main-image-300x178.png 300w\" sizes=\"auto, (max-width: 360px) 100vw, 360px\" \/><\/p>\n<h4><\/h4>\n<h4><\/h4>\n<h4>Preliminary<\/h4>\n<p>The Caddy Web Server is an HTTP \/ 2-based open-source server. This server can run on a variety of systems, making it very preferred by programmers. Whatever your operating system, you can use this server without experiencing any constraints. With the ease of running on Windows, Mac OS, Linux, Android to the BSD operating system, this server is one of the most favorite servers to this day. One that is considered the most fun feature of the Caddy Web Server is the HTTPS automation feature (by default) without requiring additional configuration.<\/p>\n<p>&nbsp;<\/p>\n<p>If you are a Ubuntu 16.04 user, installing this server on your computer is probably something difficult. But do not worry because in this article we provide a step by step guide how to install Caddy Web Server with PHP-FPM on your Ubuntu 16.04. First of all we will do Caddy installation on local environment followed by PHP-FPM configuration for PHP based application.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Before starting the installation process, make sure we meet the following requirements:<\/strong><\/p>\n<ul>\n<li>Ubuntu Server 16.04<\/li>\n<li>Access rights to root<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h4>Installation steps<\/h4>\n<h5>Install Caddy Web Server<\/h5>\n<p>In this first step we will use a installer script which can automatically download binary files and also execute (against those files) to the bin directory. So we need to find the installer script.<\/p>\n<pre>Open: wget https:\/\/getcaddy.com -O getcaddy\r\nchmod + x getcaddy<\/pre>\n<p>&nbsp;<\/p>\n<p>After getting the installer script, we need to run it with sudo.<\/p>\n<pre>Open: sudo .\/getcaddy personal http.ipfilter, http.ratelimit<\/pre>\n<p>&nbsp;<\/p>\n<p>To be known:<\/p>\n<ul>\n<li>&#8216;getcaddy&#8217; is the caddy installer<\/li>\n<li>&#8216;personal&#8217; is our installation license<\/li>\n<li>&#8216;http.ipfilter&#8217; is the one used for caddy plugin installation<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h5>Basic Configuration of Caddy Web Server<\/h5>\n<p>This is the second step we should do. We will create a new user, a new directory for the configuration file, a new directory for the caddy log file and finally, the new directory as the container for the caddy web root directory.<br \/>\nTo create a new user, we can use the &#8216;\/bin.false&#8217; option as described below:<\/p>\n<pre>useradd -M -s \/bin\/false caddy<\/pre>\n<p>&nbsp;<\/p>\n<p>Then we need to run the following mkdir command. The goal is to create a caddy directory.<\/p>\n<pre>mkdir -p \/etc\/caddy\r\nmkdir -p \/var\/log\/caddy\r\nmkdir -p \/var\/www\/html<\/pre>\n<p>&nbsp;<\/p>\n<p>The next step is to change ownership to the caddy user as follows:<\/p>\n<pre>chown -R caddy:root \/etc\/caddy \/var\/log\/caddy<\/pre>\n<p>&nbsp;<\/p>\n<p>After this step is done, we will create a new configuration file that we will call &#8216;caddyfile&#8217;. We need to open the &#8216;<strong>\/etc\/caddy<\/strong>&#8216; directory followed by a new configuration with vim command.<\/p>\n<pre>cd \/etc\/caddy\/\r\nnano Caddyfile<\/pre>\n<p>&nbsp;<\/p>\n<p>Next we need to stick to the basic configuration there as shown below:<\/p>\n<pre>http:\/\/dewlance.com {\r\n     root \/var\/www\/html\r\n     log \/var\/log\/caddy\/caddy.log\r\n     tls off\r\n     gzip\r\n }\r\n<\/pre>\n<p>Finally, save and exit!<\/p>\n<p>&nbsp;<\/p>\n<p>To note, &#8216;tls off&#8217; means we are running caddy on the local server. You do not need to enable this option if you are on a live server.<\/p>\n<p>&nbsp;<\/p>\n<h5>Running caddy on Ubuntu 16.04<\/h5>\n<p>This is the third step and in this step we will run Caddy Web Server. We also need to create an index.html file for it. As before, use vim to create a new service file. This new file will be called &#8216;caddy.service&#8217;.<\/p>\n<pre>vim \/etc\/systemd\/system\/caddy.service<\/pre>\n<p>&nbsp;<\/p>\n<p>Use the following configuration:<\/p>\n<pre>[Unit]\r\n Description=Caddy HTTP\/2 Unit Web Server\r\n \r\n [Service]\r\n User=caddy\r\n Group=caddy\r\n Environment=CADDYPATH=\/etc\/caddy\r\n ExecStart=\/usr\/local\/bin\/caddy -agree=true -log=\/var\/log\/caddy\/caddy.log -conf=\/etc\/caddy\/Caddyfile -root=\/dev\/null\r\n ExecReload=\/bin\/kill -USR1 $MAINPID\r\n LimitNOFILE=1048576\r\n LimitNPROC=64\r\n \r\n [Install]\r\n WantedBy=multi-user.target\r\n<\/pre>\n<p>Save and exit.<\/p>\n<p>&nbsp;<\/p>\n<p>Then use the systemctl command to start our caddy service. Use the following procedure:<\/p>\n<pre>systemctl re-daemon\r\nsystemctl started caddy\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p>Whenever we are on system boot, enable them<\/p>\n<pre>systemctl activate caddy<\/pre>\n<p>&nbsp;<\/p>\n<p>Now we find your new server running on Ubuntu 16.04<\/p>\n<p>Create a new index.html file:<\/p>\n<p>&nbsp;<\/p>\n<p>We have to create a new index.html file in the web root directory &#8216;\/var\/www\/html&#8217;. To make the file we need to go to that directory first. Use the command as follows:<\/p>\n<pre>cd \/var\/www\/html\r\necho 'Caddy webserver is working' &gt; index.html<\/pre>\n<p>&nbsp;<\/p>\n<p>The final step in making the index.html file is to change the file owner status to the file user. Use the command as follows:<\/p>\n<pre>chown -R caddy:caddy \/var\/www\/html<\/pre>\n<p>We now have a new index.html file. Open the browser and type the domain name that has been set in the &#8216;Caddyfile&#8217; configuration. We will be taken to our new index page.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h5>Install PHP and PHP-FPM 7.0<\/h5>\n<p>This is the fourth step and in this step we will install PHP-FPM from the Ubuntu repository.<\/p>\n<p>&nbsp;<\/p>\n<p>First run the command as follows:<\/p>\n<pre>sudo apt install -y php7.0-fpm php7.0-cli curl<\/pre>\n<p>&nbsp;<\/p>\n<p>After we complete the installation, the configuration file for PHP-FPM is the next step. Now we have to open the directory &#8216;\/etc\/php\/7.0\/fpm&#8217; and edit the configuration file pool &#8216;www&#8217;conf&#8217;. Use vim again.<\/p>\n<pre>cd \/etc\/php\/7.0\/fpm\r\nvim pool.d\/www.conf<\/pre>\n<p>&nbsp;<\/p>\n<p>Clear the signs below:<\/p>\n<pre>listen.owner = www-data\r\nlisten.group = www-data\r\nlisten.mode = 0660\r\n<\/pre>\n<p>Save and exit.<\/p>\n<p>&nbsp;<\/p>\n<p>Upon exit we need to add the caddy user to the &#8216;www-data&#8217; group. Do the commands below:<\/p>\n<pre>usermod -a -G www-data caddy<\/pre>\n<p>&nbsp;<\/p>\n<p>Enable PHP-FPM service every time we are on system boot. How to activate it is as follows:<\/p>\n<pre>systemctl start php7.0-fpm\r\nsystemctl enable php7.0-fpm<\/pre>\n<p>&nbsp;<\/p>\n<p>After the activation, all installation and configuration process of PHP-FPM has been completed. Now we can use PHP-FPM on our Caddy server.<\/p>\n<p>We may need to check the PHP-FPM socket file with the following command:<\/p>\n<pre>netstat -pl | grep php<\/pre>\n<p>&nbsp;<\/p>\n<h5>Add PHP-FPM support to the Caddy server<\/h5>\n<p>This is the fifth step and in this step we need to open the &#8216;\/etc\/caddy&#8217; configuration directory. To edit the &#8216;Caddyfile&#8217; configuration file we need to use vim.<\/p>\n<pre>cd \/etc\/caddy\r\nnano Caddyfile<\/pre>\n<p>&nbsp;<\/p>\n<p>After the configuration file has been edited, we need to add PHP-FPM configuration according to our domain name. Examples are as follows:<\/p>\n<pre>https:\/\/www.dewlance.com {\r\n     root \/var\/www\/html\r\n     log \/var\/log\/caddy\/caddy.log\r\n     errors \/var\/log\/caddy\/errors.log\r\n     tls off\r\n     gzip\r\n \r\n     # PHP-FPM Configuration for Caddy\r\n     fastcgi \/ \/run\/php\/php7.0-fpm.sock php {\r\n         ext .php\r\n         split .php\r\n         index index.php\r\n     }\r\n }<\/pre>\n<p>Save and exit.<\/p>\n<p>&nbsp;<\/p>\n<p>After logging out, we need to restart the server to start the PHP-FPM service correctly.<\/p>\n<pre>systemctl restart caddy\r\nsystemctl restart php7.0-fpm<\/pre>\n<p>The Caddy web server configuration with PHP-FPM has been done perfectly.<\/p>\n<p>&nbsp;<\/p>\n<h5>Final test<\/h5>\n<p>This is the last step. We need to make sure everything that has been done is functioning as we expect it to be. First we need to go to the web root directory &#8216;\/var\/www\/html&#8217; and then create a new file we\u2019ll call &#8216;info.php&#8217;.<\/p>\n<pre>cd \/var\/www\/html\r\necho '<!--?php phpinfo(); ?-->' &gt; phpinfo.php<\/pre>\n<p>&nbsp;<\/p>\n<p>Access our browser and we type as follows:<\/p>\n<p>http:\/\/example.com\/phpinfo.php<br \/>\n(Replace example.com with your domain name)<\/p>\n<p>&nbsp;<\/p>\n<p>Bingo! We now get your PHP page.<\/p>\n<p>&nbsp;<\/p>\n<p>Caddy Webserver successfully installed on Ubuntu 16.04.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here is a guide for installing Caddy Web Server (with PHP-FPM) on Ubuntu 16.04: Preliminary The Caddy Web Server is an HTTP \/ 2-based open-source server. This server can run on a variety of systems, making it very preferred by programmers. Whatever your operating system, you can use this server without experiencing any constraints. With [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[706],"tags":[172,171,170,168,169,167,508],"class_list":["post-626","post","type-post","status-publish","format-standard","hentry","category-vps","tag-caddy-web-server-install-tutorial","tag-caddy-web-server-installation-method","tag-caddy-web-server-tutorial-installation","tag-caddy-web-server-ubuntu-16-04","tag-how-can-we-install-caddy-web-server-on-linux","tag-how-to-install-caddy-web-server","tag-linux-vps"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How install Caddy Webserver on Ubuntu 16.04 VPS - Step by step - Web Hosting Blog - Dewlance<\/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:\/\/www.dewlance.com\/blog\/how-install-caddy-webserver-on-ubuntu-16-04-step-by-step\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How install Caddy Webserver on Ubuntu 16.04 VPS - Step by step - Web Hosting Blog - Dewlance\" \/>\n<meta property=\"og:description\" content=\"Here is a guide for installing Caddy Web Server (with PHP-FPM) on Ubuntu 16.04: Preliminary The Caddy Web Server is an HTTP \/ 2-based open-source server. This server can run on a variety of systems, making it very preferred by programmers. Whatever your operating system, you can use this server without experiencing any constraints. With [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dewlance.com\/blog\/how-install-caddy-webserver-on-ubuntu-16-04-step-by-step\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting Blog - Dewlance\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/dewlance.hosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2018-05-29T15:22:58+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-08-16T11:13:34+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.dewlance.com\/kb\/wp-content\/uploads\/2018\/05\/installing-caddy-web-server-main-image.png\" \/>\n<meta name=\"author\" content=\"K.S\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@dewlance\" \/>\n<meta name=\"twitter:site\" content=\"@dewlance\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"K.S\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.dewlance.com\/blog\/how-install-caddy-webserver-on-ubuntu-16-04-step-by-step#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.dewlance.com\/blog\/how-install-caddy-webserver-on-ubuntu-16-04-step-by-step\"},\"author\":{\"name\":\"K.S\",\"@id\":\"https:\/\/www.dewlance.com\/blog\/#\/schema\/person\/0fe2f240cf5589599b50b9385ee53694\"},\"headline\":\"How install Caddy Webserver on Ubuntu 16.04 VPS &#8211; Step by step\",\"datePublished\":\"2018-05-29T15:22:58+00:00\",\"dateModified\":\"2022-08-16T11:13:34+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.dewlance.com\/blog\/how-install-caddy-webserver-on-ubuntu-16-04-step-by-step\"},\"wordCount\":965,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.dewlance.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.dewlance.com\/blog\/how-install-caddy-webserver-on-ubuntu-16-04-step-by-step#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.dewlance.com\/kb\/wp-content\/uploads\/2018\/05\/installing-caddy-web-server-main-image.png\",\"keywords\":[\"caddy web server install tutorial\",\"caddy web server installation method\",\"caddy web server tutorial installation\",\"caddy web server ubuntu 16.04\",\"how can we install caddy web server on linux?\",\"how to install caddy web server\",\"linux vps\"],\"articleSection\":[\"VPS\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.dewlance.com\/blog\/how-install-caddy-webserver-on-ubuntu-16-04-step-by-step#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.dewlance.com\/blog\/how-install-caddy-webserver-on-ubuntu-16-04-step-by-step\",\"url\":\"https:\/\/www.dewlance.com\/blog\/how-install-caddy-webserver-on-ubuntu-16-04-step-by-step\",\"name\":\"How install Caddy Webserver on Ubuntu 16.04 VPS - Step by step - Web Hosting Blog - Dewlance\",\"isPartOf\":{\"@id\":\"https:\/\/www.dewlance.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.dewlance.com\/blog\/how-install-caddy-webserver-on-ubuntu-16-04-step-by-step#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.dewlance.com\/blog\/how-install-caddy-webserver-on-ubuntu-16-04-step-by-step#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.dewlance.com\/kb\/wp-content\/uploads\/2018\/05\/installing-caddy-web-server-main-image.png\",\"datePublished\":\"2018-05-29T15:22:58+00:00\",\"dateModified\":\"2022-08-16T11:13:34+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.dewlance.com\/blog\/how-install-caddy-webserver-on-ubuntu-16-04-step-by-step#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.dewlance.com\/blog\/how-install-caddy-webserver-on-ubuntu-16-04-step-by-step\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.dewlance.com\/blog\/how-install-caddy-webserver-on-ubuntu-16-04-step-by-step#primaryimage\",\"url\":\"https:\/\/www.dewlance.com\/kb\/wp-content\/uploads\/2018\/05\/installing-caddy-web-server-main-image.png\",\"contentUrl\":\"https:\/\/www.dewlance.com\/kb\/wp-content\/uploads\/2018\/05\/installing-caddy-web-server-main-image.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.dewlance.com\/blog\/how-install-caddy-webserver-on-ubuntu-16-04-step-by-step#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.dewlance.com\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How install Caddy Webserver on Ubuntu 16.04 VPS &#8211; Step by step\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.dewlance.com\/blog\/#website\",\"url\":\"https:\/\/www.dewlance.com\/blog\/\",\"name\":\"Web Hosting Blog - Dewlance\",\"description\":\"Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.dewlance.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.dewlance.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.dewlance.com\/blog\/#organization\",\"name\":\"Dewlance\",\"url\":\"https:\/\/www.dewlance.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.dewlance.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.dewlance.com\/blog\/wp-content\/uploads\/2022\/08\/logo.png\",\"contentUrl\":\"https:\/\/www.dewlance.com\/blog\/wp-content\/uploads\/2022\/08\/logo.png\",\"width\":274,\"height\":89,\"caption\":\"Dewlance\"},\"image\":{\"@id\":\"https:\/\/www.dewlance.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/dewlance.hosting\/\",\"https:\/\/x.com\/dewlance\",\"https:\/\/www.youtube.com\/user\/dewlances\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.dewlance.com\/blog\/#\/schema\/person\/0fe2f240cf5589599b50b9385ee53694\",\"name\":\"K.S\",\"url\":\"https:\/\/www.dewlance.com\/blog\/author\/dewlancevpsxen\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How install Caddy Webserver on Ubuntu 16.04 VPS - Step by step - Web Hosting Blog - Dewlance","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.dewlance.com\/blog\/how-install-caddy-webserver-on-ubuntu-16-04-step-by-step","og_locale":"en_US","og_type":"article","og_title":"How install Caddy Webserver on Ubuntu 16.04 VPS - Step by step - Web Hosting Blog - Dewlance","og_description":"Here is a guide for installing Caddy Web Server (with PHP-FPM) on Ubuntu 16.04: Preliminary The Caddy Web Server is an HTTP \/ 2-based open-source server. This server can run on a variety of systems, making it very preferred by programmers. Whatever your operating system, you can use this server without experiencing any constraints. With [&hellip;]","og_url":"https:\/\/www.dewlance.com\/blog\/how-install-caddy-webserver-on-ubuntu-16-04-step-by-step","og_site_name":"Web Hosting Blog - Dewlance","article_publisher":"https:\/\/www.facebook.com\/dewlance.hosting\/","article_published_time":"2018-05-29T15:22:58+00:00","article_modified_time":"2022-08-16T11:13:34+00:00","og_image":[{"url":"https:\/\/www.dewlance.com\/kb\/wp-content\/uploads\/2018\/05\/installing-caddy-web-server-main-image.png","type":"","width":"","height":""}],"author":"K.S","twitter_card":"summary_large_image","twitter_creator":"@dewlance","twitter_site":"@dewlance","twitter_misc":{"Written by":"K.S","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dewlance.com\/blog\/how-install-caddy-webserver-on-ubuntu-16-04-step-by-step#article","isPartOf":{"@id":"https:\/\/www.dewlance.com\/blog\/how-install-caddy-webserver-on-ubuntu-16-04-step-by-step"},"author":{"name":"K.S","@id":"https:\/\/www.dewlance.com\/blog\/#\/schema\/person\/0fe2f240cf5589599b50b9385ee53694"},"headline":"How install Caddy Webserver on Ubuntu 16.04 VPS &#8211; Step by step","datePublished":"2018-05-29T15:22:58+00:00","dateModified":"2022-08-16T11:13:34+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dewlance.com\/blog\/how-install-caddy-webserver-on-ubuntu-16-04-step-by-step"},"wordCount":965,"commentCount":0,"publisher":{"@id":"https:\/\/www.dewlance.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.dewlance.com\/blog\/how-install-caddy-webserver-on-ubuntu-16-04-step-by-step#primaryimage"},"thumbnailUrl":"https:\/\/www.dewlance.com\/kb\/wp-content\/uploads\/2018\/05\/installing-caddy-web-server-main-image.png","keywords":["caddy web server install tutorial","caddy web server installation method","caddy web server tutorial installation","caddy web server ubuntu 16.04","how can we install caddy web server on linux?","how to install caddy web server","linux vps"],"articleSection":["VPS"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dewlance.com\/blog\/how-install-caddy-webserver-on-ubuntu-16-04-step-by-step#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dewlance.com\/blog\/how-install-caddy-webserver-on-ubuntu-16-04-step-by-step","url":"https:\/\/www.dewlance.com\/blog\/how-install-caddy-webserver-on-ubuntu-16-04-step-by-step","name":"How install Caddy Webserver on Ubuntu 16.04 VPS - Step by step - Web Hosting Blog - Dewlance","isPartOf":{"@id":"https:\/\/www.dewlance.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.dewlance.com\/blog\/how-install-caddy-webserver-on-ubuntu-16-04-step-by-step#primaryimage"},"image":{"@id":"https:\/\/www.dewlance.com\/blog\/how-install-caddy-webserver-on-ubuntu-16-04-step-by-step#primaryimage"},"thumbnailUrl":"https:\/\/www.dewlance.com\/kb\/wp-content\/uploads\/2018\/05\/installing-caddy-web-server-main-image.png","datePublished":"2018-05-29T15:22:58+00:00","dateModified":"2022-08-16T11:13:34+00:00","breadcrumb":{"@id":"https:\/\/www.dewlance.com\/blog\/how-install-caddy-webserver-on-ubuntu-16-04-step-by-step#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dewlance.com\/blog\/how-install-caddy-webserver-on-ubuntu-16-04-step-by-step"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dewlance.com\/blog\/how-install-caddy-webserver-on-ubuntu-16-04-step-by-step#primaryimage","url":"https:\/\/www.dewlance.com\/kb\/wp-content\/uploads\/2018\/05\/installing-caddy-web-server-main-image.png","contentUrl":"https:\/\/www.dewlance.com\/kb\/wp-content\/uploads\/2018\/05\/installing-caddy-web-server-main-image.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.dewlance.com\/blog\/how-install-caddy-webserver-on-ubuntu-16-04-step-by-step#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.dewlance.com\/blog"},{"@type":"ListItem","position":2,"name":"How install Caddy Webserver on Ubuntu 16.04 VPS &#8211; Step by step"}]},{"@type":"WebSite","@id":"https:\/\/www.dewlance.com\/blog\/#website","url":"https:\/\/www.dewlance.com\/blog\/","name":"Web Hosting Blog - Dewlance","description":"Tutorials","publisher":{"@id":"https:\/\/www.dewlance.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dewlance.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.dewlance.com\/blog\/#organization","name":"Dewlance","url":"https:\/\/www.dewlance.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dewlance.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.dewlance.com\/blog\/wp-content\/uploads\/2022\/08\/logo.png","contentUrl":"https:\/\/www.dewlance.com\/blog\/wp-content\/uploads\/2022\/08\/logo.png","width":274,"height":89,"caption":"Dewlance"},"image":{"@id":"https:\/\/www.dewlance.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/dewlance.hosting\/","https:\/\/x.com\/dewlance","https:\/\/www.youtube.com\/user\/dewlances\/"]},{"@type":"Person","@id":"https:\/\/www.dewlance.com\/blog\/#\/schema\/person\/0fe2f240cf5589599b50b9385ee53694","name":"K.S","url":"https:\/\/www.dewlance.com\/blog\/author\/dewlancevpsxen"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.dewlance.com\/blog\/wp-json\/wp\/v2\/posts\/626","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dewlance.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dewlance.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dewlance.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dewlance.com\/blog\/wp-json\/wp\/v2\/comments?post=626"}],"version-history":[{"count":4,"href":"https:\/\/www.dewlance.com\/blog\/wp-json\/wp\/v2\/posts\/626\/revisions"}],"predecessor-version":[{"id":1341,"href":"https:\/\/www.dewlance.com\/blog\/wp-json\/wp\/v2\/posts\/626\/revisions\/1341"}],"wp:attachment":[{"href":"https:\/\/www.dewlance.com\/blog\/wp-json\/wp\/v2\/media?parent=626"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dewlance.com\/blog\/wp-json\/wp\/v2\/categories?post=626"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dewlance.com\/blog\/wp-json\/wp\/v2\/tags?post=626"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}