{"id":1199,"date":"2014-04-25T18:51:12","date_gmt":"2014-04-25T10:51:12","guid":{"rendered":"http:\/\/blog.dayandcarrot.net\/?p=1199"},"modified":"2014-04-25T18:51:12","modified_gmt":"2014-04-25T10:51:12","slug":"apache-%e8%99%9a%e6%8b%9f%e4%b8%bb%e6%9c%ba-error-site-blog-dayandcarrot-net-does-not-exist-a2ensite","status":"publish","type":"post","link":"https:\/\/dayandcarrot.space\/?p=1199","title":{"rendered":"Apache \u865a\u62df\u4e3b\u673a ERROR: Site blog.dayandcarrot.net does not exist! a2ensite"},"content":{"rendered":"<p>\u4eca\u5929\u5728\u65b0\u7684DigitalOcean\u4e0b\u5b89\u88c5apache2\uff0c\u914d\u7f6e\u865a\u62df\u4e3b\u673a\u7528\u4e8e\u6211\u7684\u535a\u5ba2\u670d\u52a1\uff0c\u7136\u540e\u6839\u636e<br \/>\n<a href=\"http:\/\/www.neoease.com\/apache-virtual-host\/\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/www.neoease.com\/apache-virtual-host\/<\/a><br \/>\n\u7684\u5185\u5bb9\u8fdb\u884c\u914d\u7f6e\uff0c\u56e0\u4e3a\u4ee5\u524d\u505a\u8fc7\u76f8\u540c\u64cd\u4f5c\uff0c\u6240\u4ee5\u4e00\u8def\u8f7b\u8f66\u719f\u8def~<br \/>\n\u7ed3\u679c\u8fd0\u884ca2ensite\u65f6\uff0c\u63d0\u793a<br \/>\nERROR: Site blog.dayandcarrot.net does not exist!<br \/>\n\u5f53\u65f6\u6211\u7684\u914d\u7f6e\u6587\u4ef6\u76f4\u63a5\u5c31\u662fblog.dayandcarrot.net\u8fd9\u4e2a\u540d\u5b57\uff0c\u4ee5\u524d\u4e5f\u8fd9\u4e48\u7528\u7684<br \/>\n\u7136\u540e\u6211\u7ffb\u4e86\u4e0bapache\u7684\u914d\u7f6e\u6587\u4ef6apache2.conf\uff0c\u53d1\u73b0\u76ee\u5f55\u7ed3\u6784\u63cf\u8ff0\u4e2d\u6709<\/p>\n<pre class=\"lang:default decode:true\"># It is split into several files forming the configuration hierarchy outlined\n# below, all located in the \/etc\/apache2\/ directory:\n#\n#\t\/etc\/apache2\/\n#\t|-- apache2.conf\n#\t|\t`--  ports.conf\n#\t|-- mods-enabled\n#\t|\t|-- *.load\n#\t|\t`-- *.conf\n#\t|-- conf-enabled\n#\t|\t`-- *.conf\n# \t`-- sites-enabled\n#\t \t`-- *.conf<\/pre>\n<p>\u770b\u5230\u540e\u7f00\u90fd\u8981\u662f.conf\u7684<br \/>\n\u7136\u540e\u6211\u628a\u6587\u4ef6\u540d\u540e\u52a0\u4e86\u4e2a.conf\u7684\u540e\u7f00\uff0c\u518d<br \/>\nensite blog.dayandcarrot.net<br \/>\n\u7136\u540e\u5c31\u641e\u5b9a\u5566\uff01~<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4eca\u5929\u5728\u65b0\u7684DigitalOcean\u4e0b\u5b89\u88c5apache2\uff0c\u914d\u7f6e\u865a\u62df\u4e3b\u673a\u7528\u4e8e\u6211\u7684\u535a\u5ba2\u670d\u52a1\uff0c\u7136\u540e\u6839\u636e http:\/\/www.neoease.com\/apache-virtual-host\/ \u7684\u5185\u5bb9\u8fdb\u884c\u914d\u7f6e\uff0c\u56e0\u4e3a\u4ee5\u524d\u505a\u8fc7\u76f8\u540c\u64cd\u4f5c\uff0c\u6240\u4ee5\u4e00\u8def\u8f7b\u8f66\u719f\u8def~ \u7ed3\u679c\u8fd0\u884ca2ensite\u65f6\uff0c\u63d0\u793a ERROR: Site blog.dayandcarrot.net does not exist! \u5f53\u65f6\u6211\u7684\u914d\u7f6e\u6587\u4ef6\u76f4\u63a5\u5c31\u662fblog.dayandcarrot.net\u8fd9\u4e2a\u540d\u5b57\uff0c\u4ee5\u524d\u4e5f\u8fd9\u4e48\u7528\u7684 \u7136\u540e\u6211\u7ffb\u4e86\u4e0bapache\u7684\u914d\u7f6e\u6587\u4ef6apache2.conf\uff0c\u53d1\u73b0\u76ee\u5f55\u7ed3\u6784\u63cf\u8ff0\u4e2d\u6709 # It is split into several files forming the configuration hierarchy outlined # below, all located in the \/etc\/apache2\/ directory: # # \/etc\/apache2\/ # |&#8211; apache2.conf # | `&#8211; ports.conf # |&#8211; mods-enabled # | |&#8211; *.load # | `&#8211; *.conf # |&#8211; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[21,114],"class_list":["post-1199","post","type-post","status-publish","format-standard","hentry","category-technical","tag-apache","tag-ubuntu"],"_links":{"self":[{"href":"https:\/\/dayandcarrot.space\/index.php?rest_route=\/wp\/v2\/posts\/1199","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dayandcarrot.space\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dayandcarrot.space\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dayandcarrot.space\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dayandcarrot.space\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1199"}],"version-history":[{"count":0,"href":"https:\/\/dayandcarrot.space\/index.php?rest_route=\/wp\/v2\/posts\/1199\/revisions"}],"wp:attachment":[{"href":"https:\/\/dayandcarrot.space\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1199"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dayandcarrot.space\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1199"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dayandcarrot.space\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1199"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}