{"id":6912,"date":"2016-11-06T14:49:54","date_gmt":"2016-11-06T12:49:54","guid":{"rendered":"http:\/\/www.beseit.net\/?p=6912"},"modified":"2021-04-18T17:01:51","modified_gmt":"2021-04-18T15:01:51","slug":"synology-virtual-host","status":"publish","type":"post","link":"https:\/\/www.beseit.net\/?p=6912","title":{"rendered":"Synology VIRTUAL HOST"},"content":{"rendered":"<p>Una caracter\u00edstica molt interessant del servidor Synology es que permet tenir diversos dominis apuntant a carpetes diferents. Es adir amb un \u00fanica IP fixa es possible tenir fins a 8 domis matarranya.cat, beseit.net, cadasc\u00fa d&#8217;ells a la seva carpeta corresponent. (add on domini)<\/p>\n<p>WWW (WEB STATION) \/VIRTUAL HOST<br \/>\nA l&#8217;imatge de sota es mostra com s&#8217;ha de configurar. Despr\u00e9s d&#8217;una actualitzaci\u00f3 m&#8217;ha deixat de funcionar i s&#8217;ha solucionat activant i desactivant HTTP back end server nging apache<\/p>\n<p><a href=\"http:\/\/www.beseit.net\/?attachment_id=7443\" rel=\"attachment wp-att-7443\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-7443\" src=\"http:\/\/www.beseit.net\/wp-content\/uploads\/2016\/11\/virtual-host.gif\" alt=\"\" width=\"1183\" height=\"417\" \/><\/a><br \/>\n<a href=\"http:\/\/www.beseit.net\/?attachment_id=7336\" rel=\"attachment wp-att-7336\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright wp-image-7336\" src=\"http:\/\/www.beseit.net\/wp-content\/uploads\/2016\/11\/virtual_host.gif\" alt=\"\" width=\"494\" height=\"140\" \/><\/a><\/p>\n<hr \/>\n<p>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx<br \/>\n<a href=\"http:\/\/www.beseit.net\/?attachment_id=7337\" rel=\"attachment wp-att-7337\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright size-full wp-image-7337\" src=\"http:\/\/www.beseit.net\/wp-content\/uploads\/2016\/11\/edit_virtual_host.gif\" alt=\"\" width=\"908\" height=\"690\" \/><\/a><\/p>\n<p>Accioxns a Moniker:x<br \/>\n<a href=\"http:\/\/www.beseit.net\/?attachment_id=7339\" rel=\"attachment wp-att-7339\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright size-full wp-image-7339\" src=\"http:\/\/www.beseit.net\/wp-content\/uploads\/2016\/11\/moniker.gif\" alt=\"\" width=\"597\" height=\"922\" \/><\/a><\/p>\n<p>com ferm servir com a servidor de pagines web el nostre synology amb la seva Ip, hem tenir seleccionat defauld nameser i posar la seva ip corresponent (si fos epage etc. tindr\u00edem external nameserver) IMPORTANT CREAR SUBDOMINI WWW.URQUIZU.INFO i verificar que la feina s&#8217;ha fet<\/p>\n<p>With the feature of Virtual Host, you can setup multiple web sites on Synology NAS. A domain name is required for Virtual Host set up. There are two different settings for each Virtual Host set up: Name-based and Port-based. Each Virtual Host web site requires a Document Root directory for file storing and accessing.<br \/>\nAdd a new Virtual Host<\/p>\n<p>Click Create<br \/>\nSelect the type of Virtual Host: Name-based or Port-based.<br \/>\nEnter the hostname and select the protocol and port number is necessary.<br \/>\nSelect the Document Root path, this folder will be used to file store. (Please refer to Note)<br \/>\nSelect whether or not to enable HSTS setting (forces browser to use HTTPS connection) and HTTP\/2 to speed up the web transfer.<br \/>\nSelect the back-end server for this Virtual Host.<br \/>\nEnable PHP back-end is necessary and choose the back-end type.<br \/>\nClick OK to create the Virtual Host.<br \/>\nWhen SSL encryption connect is enabled, you will be promoted and redirected to the Certificate page for further setup.<\/p>\n<p>Note:<\/p>\n<p>For better flexibility and security, Web Station uses the http user group to execute tasks. Therefore, to control access permissions for your web pages, please change the http group&#8217;s access permissions for each corresponding folder and file. For example, if you want to make the vhost1 folder accessiable via Web Station, you&#8217;ll need to make sure the http group has proper read\/write permissions for the vhost1 and files\/folders in it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Una caracter\u00edstica molt interessant del servidor Synology es que permet tenir diversos dominis apuntant a carpetes diferents. Es adir amb un \u00fanica IP fixa es possible tenir fins a 8 domis matarranya.cat, beseit.net, cadasc\u00fa d&#8217;ells a la seva carpeta corresponent. &hellip; <a href=\"https:\/\/www.beseit.net\/?p=6912\">Continua llegint <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,54],"tags":[],"class_list":["post-6912","post","type-post","status-publish","format-standard","hentry","category-bloc-de-notes","category-software-aplicacions"],"_links":{"self":[{"href":"https:\/\/www.beseit.net\/index.php?rest_route=\/wp\/v2\/posts\/6912","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.beseit.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.beseit.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.beseit.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.beseit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6912"}],"version-history":[{"count":11,"href":"https:\/\/www.beseit.net\/index.php?rest_route=\/wp\/v2\/posts\/6912\/revisions"}],"predecessor-version":[{"id":9504,"href":"https:\/\/www.beseit.net\/index.php?rest_route=\/wp\/v2\/posts\/6912\/revisions\/9504"}],"wp:attachment":[{"href":"https:\/\/www.beseit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6912"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.beseit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6912"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.beseit.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6912"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}