{"id":185,"date":"2021-01-07T20:30:00","date_gmt":"2021-01-07T11:30:00","guid":{"rendered":"https:\/\/na-3.com\/wp_na-blog\/?p=185"},"modified":"2022-10-25T15:05:52","modified_gmt":"2022-10-25T06:05:52","slug":"%e3%83%90%e3%83%bc%e3%83%81%e3%83%a3%e3%83%ab%e3%83%9b%e3%82%b9%e3%83%88%e3%81%a7%e8%a4%87%e6%95%b0%e3%81%aewordpress%e3%82%92%e4%bd%bf%e7%94%a8","status":"publish","type":"post","link":"https:\/\/na-3.com\/wp_na-blog\/2021\/01\/07\/%e3%83%90%e3%83%bc%e3%83%81%e3%83%a3%e3%83%ab%e3%83%9b%e3%82%b9%e3%83%88%e3%81%a7%e8%a4%87%e6%95%b0%e3%81%aewordpress%e3%82%92%e4%bd%bf%e7%94%a8\/","title":{"rendered":"\u30d0\u30fc\u30c1\u30e3\u30eb\u30db\u30b9\u30c8\u3067\u8907\u6570\u306eWordPress\u3092\u904b\u7528"},"content":{"rendered":"\n<p>\u8907\u6570\u306e\u30b5\u30fc\u30d0\u30fc\u306bWordPress\u3092\u305d\u308c\u305e\u308c\u5c0e\u5165\u3059\u308b\u5206\u306b\u306f\u901a\u5e38\u74b0\u5883\u3067\u826f\u3044\u304c,\u540c\u4e00\u30b5\u30fc\u30d0\u30fc\u306b\u8907\u6570\u306e\u30d0\u30fc\u30c1\u30e3\u30eb\u30db\u30b9\u30c8\u3092\u8a2d\u5b9a\u3057\u3066,\u305d\u308c\u305e\u308c\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u5229\u7528\u3059\u308b\u969b\u306b,MYSQL\u306eDB\u8a2d\u5b9a\u3084Apache\u306e\u8a2d\u5b9a,DNS\u8a2d\u5b9a\u7b49\u304c\u9762\u5012\u306a\u306e\u3067,\u30e1\u30e2\u3092\u6b8b\u3059\u3002\u30d0\u30fc\u30c1\u30e3\u30eb\u30db\u30b9\u30c8\u3092\u5229\u7528\u3057\u306a\u304f\u3066\u3082\u540c\u4e00\u30db\u30b9\u30c8\u3067\u30d5\u30a9\u30eb\u30c0\u30fc\u3092\u5206\u3051\u3066\u8907\u6570\u306eWordPress\u3092\u5229\u7528\u3067\u304d\u308b\u304c,\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u30eb\u30fc\u30c8\u3092\u5206\u3051\u3066\u30a2\u30d7\u30ea\u30c6\u30b9\u30c8\u74b0\u5883\u3068\u3057\u3066\u904b\u7528\u3057\u305f\u3044\u306e\u3067\u74b0\u5883\u3092\u69cb\u7bc9\u3059\u308b\u3053\u3068\u306b\u3057\u305f\u3002<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\r\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">\u76ee\u6b21<\/p>\r\n<label for=\"ez-toc-cssicon-toggle-item-69ea8840b9fa4\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69ea8840b9fa4\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/na-3.com\/wp_na-blog\/2021\/01\/07\/%e3%83%90%e3%83%bc%e3%83%81%e3%83%a3%e3%83%ab%e3%83%9b%e3%82%b9%e3%83%88%e3%81%a7%e8%a4%87%e6%95%b0%e3%81%aewordpress%e3%82%92%e4%bd%bf%e7%94%a8\/#%EF%BC%91%EF%BC%8EMYSQL_%E7%92%B0%E5%A2%83\" >\uff11\uff0eMYSQL \u74b0\u5883<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/na-3.com\/wp_na-blog\/2021\/01\/07\/%e3%83%90%e3%83%bc%e3%83%81%e3%83%a3%e3%83%ab%e3%83%9b%e3%82%b9%e3%83%88%e3%81%a7%e8%a4%87%e6%95%b0%e3%81%aewordpress%e3%82%92%e4%bd%bf%e7%94%a8\/#%EF%BC%92%EF%BC%8EApache%E7%92%B0%E5%A2%83\" >\uff12\uff0eApache\u74b0\u5883<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/na-3.com\/wp_na-blog\/2021\/01\/07\/%e3%83%90%e3%83%bc%e3%83%81%e3%83%a3%e3%83%ab%e3%83%9b%e3%82%b9%e3%83%88%e3%81%a7%e8%a4%87%e6%95%b0%e3%81%aewordpress%e3%82%92%e4%bd%bf%e7%94%a8\/#%EF%BC%93%EF%BC%8E%E3%82%B5%E3%83%BC%E3%83%90%E3%83%BC%E3%81%AE%E3%83%95%E3%82%A9%E3%83%AB%E3%83%80%E3%83%BC\" >\uff13\uff0e\u30b5\u30fc\u30d0\u30fc\u306e\u30d5\u30a9\u30eb\u30c0\u30fc<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/na-3.com\/wp_na-blog\/2021\/01\/07\/%e3%83%90%e3%83%bc%e3%83%81%e3%83%a3%e3%83%ab%e3%83%9b%e3%82%b9%e3%83%88%e3%81%a7%e8%a4%87%e6%95%b0%e3%81%aewordpress%e3%82%92%e4%bd%bf%e7%94%a8\/#%EF%BC%94%EF%BC%8EDNS%E7%92%B0%E5%A2%83\" >\uff14\uff0eDNS\u74b0\u5883<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/na-3.com\/wp_na-blog\/2021\/01\/07\/%e3%83%90%e3%83%bc%e3%83%81%e3%83%a3%e3%83%ab%e3%83%9b%e3%82%b9%e3%83%88%e3%81%a7%e8%a4%87%e6%95%b0%e3%81%aewordpress%e3%82%92%e4%bd%bf%e7%94%a8\/#%EF%BC%95%EF%BC%8E%E3%81%BE%E3%81%A8%E3%82%81\" >\uff15\uff0e\u307e\u3068\u3081<\/a><\/li><\/ul><\/nav><\/div>\r\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%EF%BC%91%EF%BC%8EMYSQL_%E7%92%B0%E5%A2%83\"><\/span>\uff11\uff0eMYSQL \u74b0\u5883<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>MYSQL \u74b0\u5883&nbsp; (\u5c02\u7528DB\u4f5c\u6210)\u3000WordPress\u6bce\u306b\u5c02\u7528\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u6e96\u5099\u3059\u308b\u3002<br>\u3000\u3000\u4e8b\u524d\u306b\uff24\uff22\u540d\uff0c\u30e6\u30fc\u30b6\u30fc\u540d\uff0c\u30d1\u30ef\u30fc\u30c9\uff0c\u30db\u30b9\u30c8\u540d\u3092\u6c7a\u3081\u308b\u3002<br>\u4eca\u56de\u306f\u300ctestdb\u300d\u3092\u4f5c\u6210\u3057\u3066\u300ctestuser\u300d\u3067\u30a2\u30af\u30bb\u30b9\u3059\u308b\u74b0\u5883\u3092\u4f5c\u6210\u3059\u308b\u3002<br>\u4e0b\u8a18\u306e\u9805\u76ee\u300c2.\u300d\u306b\u5404\u5024\u3092\u8a18\u3059\u3002\uff08\u5185\u5bb9\u306fwp-config.php\u306b\u4fdd\u5b58\u3055\u308c\u308b\uff09<\/p>\n\n\n\n<figure class=\"wp-block-table aligncenter is-style-stripes\"><table><tbody><tr><td>\u7a2e\u5225<\/td><td>\u540d\u79f0<\/td><td>\u30d1\u30b9\u30ef\u30fc\u30c9<\/td><\/tr><tr><td>0. MYSQL-DB\u7ba1\u7406\u8005<\/td><td>root<\/td><td>password0<\/td><\/tr><tr><td><\/td><td><\/td><td><\/td><\/tr><tr><td>1. WordPress DB\u540d(\u672c\u756ablog)<\/td><td>MYSQL<\/td><td><\/td><\/tr><tr><td>1-1. \u300cMYSQL\u300d \u30e6\u30fc\u30b6\u30fc<\/td><td>user<\/td><td>password1<\/td><\/tr><tr><td>1-2. \u300cMYSQL\u300d\u306e\u30db\u30b9\u30c8\u540d<\/td><td>localhost<\/td><td><\/td><\/tr><tr><td><\/td><td><\/td><td><\/td><\/tr><tr><td>2. \u8ffd\u52a0DB\u540d(test\u7528DB)<\/td><td>testdb<\/td><td><\/td><\/tr><tr><td>2-1. \u300ctestdb\u300d\u30e6\u30fc\u30b6\u30fc<\/td><td>testuser<\/td><td>password2<\/td><\/tr><tr><td>2-2. \u300ctestdb\u300d\u306e\u30db\u30b9\u30c8\u540d<\/td><td>localhost<\/td><td><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>MYSQL\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30d5\u30a9\u30eb\u30c0\u30fc\u304b\u3089\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u8d77\u52d5\u3057\u30c7\u30fc\u30bf\u30fc\u30d9\u30fc\u30b9\u3092\u8ffd\u52a0\u3002<br>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30d5\u30a9\u30eb\u30c0\u30fc\u300cC:\\Program Files\\MySQL\\MySQL Server 8.0\\bin\u300d<br>1. root\u30e6\u30fc\u30b6\u30fc\u3067\u30ed\u30b0\u30a4\u30f3\u3000\u3000\u3000\u3000\u3000\u300cmysql -u root -p\u300d<br>2. \u30d1\u30b9\u30ef\u30fc\u30c9\u5165\u529b\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u300cpassword0\u300d<br>15. \u30c7\u30fc\u30bf\u30fc\u30d9\u30fc\u30b9\u300ctestdb\u300d\u4f5c\u6210\u3000\u3000\u300ccreate database testdb;\u300d<br>18. \u30a2\u30af\u30bb\u30b9\u30e6\u30fc\u30b6\u30fc\u300ctestuser\u300d\u4f5c\u6210(localhost,\u30d1\u30b9\u30ef\u30fc\u30c9)<br>\u3000\u3000\u3000\u3000\u3000\u3000\u300ccreate user &#8216;testuser&#8217;@&#8217;localhost&#8217; identified by &#8216;password2&#8217;;\u300d<br>21. \u300ctestdb\u300d\u306b\u300ctestuser\u300d\u306e\u30a2\u30af\u30bb\u30b9\u6a29\u3092\u767b\u9332<br>\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u300cgrant all on testdb.* to &#8216;testuser&#8217;@&#8217;localhost&#8217;;\u300d<br>24. \u30e6\u30fc\u30b6\u30fc\u4e00\u89a7\u3092\u8868\u793a\u3000\u3000\u300cselect user,host,plugin from mysql.user;\u300d<br>36. \u30c7\u30fc\u30bf\u30fc\u30d9\u30fc\u30b9\u4e00\u89a7\u3092\u8868\u793a\u3000\u300cshow databases;\u300d<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\" data-file=\"\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\" data-line=\"1-2,15,18,21,24,36\"><code>C:\\Program Files\\MySQL\\MySQL Server 8.0\\bin&gt;mysql -u root -p\nEnter password: ************\nWelcome to the MySQL monitor.  Commands end with ; or \\g.\nYour MySQL connection id is 7341\nServer version: 8.0.22 MySQL Community Server - GPL\n\nCopyright (c) 2000, 2020, Oracle and\/or its affiliates. All rights reserved.\n\nOracle is a registered trademark of Oracle Corporation and\/or its\naffiliates. Other names may be trademarks of their respective\nowners.\n\nType &#39;help;&#39; or &#39;\\h&#39; for help. Type &#39;\\c&#39; to clear the current input statement.\n\nmysql&gt; create database testdb;\nQuery OK, 1 row affected (0.01 sec)\n\nmysql&gt; create user &#39;testuser&#39;@&#39;localhost&#39; identified by &#39;**********&#39;;\nQuery OK, 0 rows affected (0.03 sec)\n\nmysql&gt; grant all on testdb.* to &#39;testuser&#39;@&#39;localhost&#39;;\nQuery OK, 0 rows affected (0.01 sec)\n\nmysql&gt; select user,host,plugin from mysql.user;\n+------------------+-----------+-----------------------+\n| user             | host      | plugin                |\n+------------------+-----------+-----------------------+\n| mysql.infoschema | localhost | caching_sha2_password |\n| mysql.session    | localhost | caching_sha2_password |\n| mysql.sys        | localhost | caching_sha2_password |\n| root             | localhost | caching_sha2_password |\n| testuser         | localhost | caching_sha2_password |\n+------------------+-----------+-----------------------+\n5 rows in set (0.00 sec)\n\nmysql&gt; show databases;\n+--------------------+\n| Database           |\n+--------------------+\n| information_schema |\n| mysql              |\n| performance_schema |\n| sys                |\n| testdb             |\n+--------------------+\n5 rows in set (0.01 sec)\n\nmysql&gt;<\/code><\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%EF%BC%92%EF%BC%8EApache%E7%92%B0%E5%A2%83\"><\/span>\uff12\uff0eApache\u74b0\u5883<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Apache\u306e\u74b0\u5883\u5909\u66f4(\u30d0\u30fc\u30c1\u30e3\u30eb\u30db\u30b9\u30c8\u95a2\u9023)<br>\u3000\u3000httpd.conf \u306eDirectory\u6587\u306b\u65b0\u898fvhosts\u5206\u8ffd\u52a0\u30fb\u4fee\u6b63<br>10\uff5e17\u3000\u30d5\u30a9\u30eb\u30c0\u30fc\u300ctesthost\u300d\u8ffd\u52a0<br><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-scss\" data-file=\"httpd.conf\" data-lang=\"SCSS\" data-line=\"10-17\"><code>&lt;Directory &quot;D:\/www\/public_html&quot;&gt;\n    #\n    Options FollowSymLinks ExecCGI\n    Options +Includes\n    #\n    AllowOverride All\n    Require all granted\n&lt;\/Directory&gt;\n#\n&lt;Directory &quot;D:\/www\/testhost&quot;&gt;\n    #\n    Options FollowSymLinks ExecCGI\n    Options +Includes\n    #\n    AllowOverride All\n    Require all granted\n&lt;\/Directory&gt;\n<\/code><\/pre><\/div>\n\n\n\n<p>httpd-vhosts.conf \u3000\u3000\u8ffd\u52a0\u30fb\u4fee\u6b63<br>10\uff5e17\u3000\u30d0\u30fc\u30c1\u30e3\u30eb\u30db\u30b9\u30c8\u300ctesthost.hoge.com\u300d\u8ffd\u52a0<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-scss\" data-file=\"httpd-vhosts.conf\" data-lang=\"SCSS\" data-line=\"10-17\"><code>&lt;VirtualHost *:80&gt;\n    ServerAdmin webmaster@hoge.com\n    DocumentRoot &quot;D:\/www\/public_html&quot;\n    ServerName hoge.com\n    ServerAlias www.hoge.com\n    ErrorLog &quot;${SRVROOT}\/logs\/error.log&quot;\n    CustomLog &quot;${SRVROOT}\/logs\/access.log&quot; common\n&lt;\/VirtualHost&gt;\n#\n&lt;VirtualHost *:80&gt;\n    ServerAdmin webmaster@hoge.com\n    DocumentRoot &quot;D:\/www\/testhost&quot;\n    ServerName testhost.hoge.com\n    ServerAlias www.testhost.hoge.com\n    ErrorLog &quot;${SRVROOT}\/logs\/error.log&quot;\n    CustomLog &quot;${SRVROOT}\/logs\/access.log&quot; common\n&lt;\/VirtualHost&gt;<\/code><\/pre><\/div>\n\n\n\n<p>ssl\u4f7f\u7528\u6642\u306ehttpd-ssl.conf \u3000\u8ffd\u52a0\u30fb\u4fee\u6b63<br>\u4eca\u56de\u306f15\uff5e25\u3092\u8ffd\u52a0<br>\u300cMDomain\u300d\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u5358\u4f4d\u3067\u30b5\u30fc\u30d0\u30fc\u8a3c\u660e\u66f8\u306f1\u679a\u3068\u306a\u308b\u306e\u3067\uff0c\u300choge.com\u300d\u3068\u300ctesthost.hoge.com\u300d\u3067\uff11\u679a\uff0c\u300choge.jp\u300d\u30671\u679a\u306e\u767a\u884c\u3068\u306a\u308b\u3002\u211627\uff5e44\u306f\u53c2\u8003\u8868\u8a18\u306e\u70ba\uff0c\u5225\u9014\u300chttpd.conf,httpd-vhosts.conf\u300d\u7b49\u306e\u8ffd\u52a0\u30fb\u4fee\u6b63\u5fc5\u8981\u3002\u30c8\u30c3\u30d7\u30ec\u30d9\u30eb\u30c9\u30e1\u30a4\u30f3\uff08TLDs\uff09\u6bce\u306b\uff11\u679a\u306e\u8a3c\u660e\u66f8\u3068\u306a\u308b\u3088\u3046\u3060\u3002<br>\u3010\u53c2\u8003\uff1a<a href=\"https:\/\/na-3.com\/na-blog\/html\/art\/00343.html\" target=\"_blank\" rel=\"noreferrer noopener\">\u30b5\u30fc\u30d0\u30fcSSL\/TLS\u5316\u691c\u8a0e\u30fb\u5c0e\u5165\u3000\u30e1\u30e2<\/a>\u3011<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-scss\" data-file=\"httpd-ssl.conf\" data-lang=\"SCSS\" data-line=\"1,15-25,27-44\"><code>MDomain hoge.com testhost.hoge.com\n&lt;VirtualHost _default_:443&gt;\n#   General setup for the virtual host\nDocumentRoot &quot;D:\/www\/public_html&quot;\nServerName hoge.com\nServerAlias www.hoge.com\nServerAdmin webmaster@hoge.com\nErrorLog &quot;${SRVROOT}\/logs\/error.log&quot;\nTransferLog &quot;${SRVROOT}\/logs\/access.log&quot;\n#   :\n#   : \u7701\u7565\n#   :\n&lt;\/VirtualHost&gt; \n#\n&lt;VirtualHost _default_:443&gt;\nDocumentRoot &quot;D:\/www\/testhost&quot;\nServerName testhost.hoge.com\nServerAlias www.testhost.hoge.com\nServerAdmin webmaster@hoge.com\nErrorLog &quot;${SRVROOT}\/logs\/error.log&quot;\nTransferLog &quot;${SRVROOT}\/logs\/access.log&quot;\n#   :\n#   : \u7701\u7565\n#   :\n&lt;\/VirtualHost&gt;\n#\nMDomain hoge.jp\n&lt;VirtualHost _default_:443&gt;\nDocumentRoot &quot;D:\/www\/jp&quot;\nServerName hoge.jp\nServerAlias www.hoge.jp\nServerAdmin webmaster@hoge.com\nErrorLog &quot;${SRVROOT}\/logs\/error.log&quot;\nTransferLog &quot;${SRVROOT}\/logs\/access.log&quot;\n \nSSLEngine on\n\n#SSLCertificateFile &quot;${SRVROOT}\/conf\/server.crt&quot;\n#\n#SSLCertificateKeyFile &quot;${SRVROOT}\/conf\/server.key&quot;\n#   :\n#   : \u7701\u7565\n#   :\n&lt;\/VirtualHost&gt;\n#\n&lt;IfModule md_module&gt;\nMDBaseServer            off\nMDCertificateProtocol   ACME\nMDCAChallenges          http-01 tls-alpn-01\nMDRenewMode             auto \nMDPrivateKeys           RSA 2048\nMDRenewWindow           33%\nMDStoreDir              md\n# \n#MDCertificateAuthority https:\/\/acme-staging-v02.api.letsencrypt.org\/directory\nMDCertificateAuthority  https:\/\/acme-v02.api.letsencrypt.org\/directory\nMDCertificateAgreement  https:\/\/letsencrypt.org\/documents\/LE-SA-v1.2-November-15-7.pdf\n&lt;\/IfModule&gt;                                                                   <\/code><\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%EF%BC%93%EF%BC%8E%E3%82%B5%E3%83%BC%E3%83%90%E3%83%BC%E3%81%AE%E3%83%95%E3%82%A9%E3%83%AB%E3%83%80%E3%83%BC\"><\/span>\uff13\uff0e\u30b5\u30fc\u30d0\u30fc\u306e\u30d5\u30a9\u30eb\u30c0\u30fc<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u3000\u3000\u30c9\u30e1\u30a4\u30f3\u30eb\u30fc\u30c8\u914d\u4e0b\u306b\u65b0\u898f\u306e\u30d0\u30fc\u30c1\u30e3\u30eb\u30db\u30b9\u30c8\u306e\u30d5\u30a9\u30eb\u30c0\u30fc\u4f5c\u6210\u3057Wordpress\u914d\u7f6e<br>\u3000\u3000\u30d5\u30a9\u30eb\u30c0\u30fc\u540d:testhost\u3000\u306e\u5834\u5408URL\u3000https:\/\/testhost.hoge.com\/blog\/<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%EF%BC%94%EF%BC%8EDNS%E7%92%B0%E5%A2%83\"><\/span>\uff14\uff0eDNS\u74b0\u5883<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u4ee5\u524d\u306f\u30c9\u30e1\u30a4\u30f3\u306bCNAME\u3067\u300cwww\u300d\u3092\u6307\u5b9a\u3057\u3066\u3044\u305f\u304c,CNAME\u3092\u6307\u5b9a\u3057\u306a\u3044\u3053\u3068\u3067,A\u30ec\u30b3\u30fc\u30c9\u306e\u30ef\u30a4\u30eb\u30c9\u30ab\u30fc\u30c9\u6307\u5b9a\u306e\u307f\u3067,\u300choge.com\u300d\u3068\u300c\uff0a.hoge.com\u300d\u3092\u5bfe\u8c61\u3068\u3059\u308b\u3002\u3053\u306e\u8fba\u306fDNS\u904b\u7528\u30b5\u30a4\u30c8\u6bce\u306b\u82e5\u5e72\u306e\u9055\u3044\u304c\u3042\u308b\u3002\u300choge.com\u300d\u306e\u524d\u306e\u6587\u5b57\u5217\u306f\u4f55\u3067\u3082\u901a\u3057\u3066,\u30b5\u30fc\u30d0\u30fc\u5074\u3067\u632f\u308a\u5206\u3051\u3059\u308b\u3002vhosts\u6307\u5b9a\u3067,\u4eca\u56de\u8ffd\u52a0\u3057\u305ftesthost\u306f,\u300ctesthost.hoge.com\u300d\u3068\u30a8\u30a4\u30ea\u30a2\u30b9\u306e\u300cwww.testhost.hoge.com\u300d\u3092\u53d7\u3051\u5165\u308c,\u305d\u306e\u4ed6\u306f\u5148\u982d\u6307\u5b9a\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u300choge.com\u300d\u306b\u632f\u308a\u5206\u3051\u308b\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table aligncenter is-style-stripes\"><table><tbody><tr><td>Hostname<\/td><td>Type<\/td><td>Content,Delegateid<\/td><\/tr><tr><td>hoge.com<\/td><td>Domain(FQDN)<\/td><td><\/td><\/tr><tr><td>hoge.com<\/td><td>\u3000MX<\/td><td>\u300010<\/td><\/tr><tr><td>\u3000\uff0a<\/td><td>\u3000A<\/td><td><span class=\"has-inline-color has-cyan-bluish-gray-color\">(DDNS\u306eIP\u30a2\u30c9\u30ec\u30b9)<\/span><\/td><\/tr><tr><td>\u3000<s><span class=\"has-inline-color has-cyan-bluish-gray-color\">www<\/span><\/s><\/td><td>\u3000<s><span class=\"has-inline-color has-cyan-bluish-gray-color\">CNAME<\/span><\/s><\/td><td><s><span class=\"has-inline-color has-cyan-bluish-gray-color\">hoge.com<\/span><\/s><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"703\" height=\"473\" src=\"https:\/\/na-3.com\/wp_na-blog\/wp-content\/uploads\/2021\/01\/mydns.jpg\" alt=\"\" class=\"wp-image-222\" srcset=\"https:\/\/na-3.com\/wp_na-blog\/wp-content\/uploads\/2021\/01\/mydns.jpg 703w, https:\/\/na-3.com\/wp_na-blog\/wp-content\/uploads\/2021\/01\/mydns-300x202.jpg 300w\" sizes=\"auto, (max-width: 703px) 100vw, 703px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%EF%BC%95%EF%BC%8E%E3%81%BE%E3%81%A8%E3%82%81\"><\/span>\uff15\uff0e\u307e\u3068\u3081<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u601d\u3044\u3064\u304f\u307e\u307e\u66f8\u3044\u305f\u304c,\u305d\u306e\u4ed6\u306f\u901a\u5e38\u306e\u624b\u9806\u3068\u540c\u3058\u3060\u3063\u305f\u3068\u601d\u3046\u3002<br>\u3000URL\u3000\u300chttps:\/\/testhost.hoge.com\/blog\/\u300d\u3067\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3002<br>\u3000\u30b5\u30fc\u30d0\u30fc\u8a3c\u660e\u66f8\u3082\u30d0\u30fc\u30c1\u30e3\u30eb\u30db\u30b9\u30c8\u5206\u304c\u767a\u884c\u3055\u308c\u305f\u3002<br>\u3000\u3000<sub>\u203b\u4e0a\u8a18\u540d\u79f0\u7b49\u306f\u516c\u958b\u7528\u3067\u5b9f\u5728\u3057\u307e\u305b\u3093\u3002<\/sub><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8907\u6570\u306e\u30b5\u30fc\u30d0\u30fc\u306bWordPress\u3092\u305d\u308c\u305e\u308c\u5c0e\u5165\u3059\u308b\u5206\u306b\u306f\u901a <a class=\"more-link\" href=\"https:\/\/na-3.com\/wp_na-blog\/2021\/01\/07\/%e3%83%90%e3%83%bc%e3%83%81%e3%83%a3%e3%83%ab%e3%83%9b%e3%82%b9%e3%83%88%e3%81%a7%e8%a4%87%e6%95%b0%e3%81%aewordpress%e3%82%92%e4%bd%bf%e7%94%a8\/\">\u7d9a\u304d\u3092\u8aad\u3080 &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":285,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"ngg_post_thumbnail":0,"footnotes":""},"categories":[93,49,48,52,47],"tags":[85,86,84,83],"class_list":["post-185","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mysql","category-wordpress","category-server","category-software","category-computer","tag-apache","tag-86","tag-mysql","tag-83"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/na-3.com\/wp_na-blog\/wp-json\/wp\/v2\/posts\/185","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/na-3.com\/wp_na-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/na-3.com\/wp_na-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/na-3.com\/wp_na-blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/na-3.com\/wp_na-blog\/wp-json\/wp\/v2\/comments?post=185"}],"version-history":[{"count":44,"href":"https:\/\/na-3.com\/wp_na-blog\/wp-json\/wp\/v2\/posts\/185\/revisions"}],"predecessor-version":[{"id":7637,"href":"https:\/\/na-3.com\/wp_na-blog\/wp-json\/wp\/v2\/posts\/185\/revisions\/7637"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/na-3.com\/wp_na-blog\/wp-json\/wp\/v2\/media\/285"}],"wp:attachment":[{"href":"https:\/\/na-3.com\/wp_na-blog\/wp-json\/wp\/v2\/media?parent=185"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/na-3.com\/wp_na-blog\/wp-json\/wp\/v2\/categories?post=185"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/na-3.com\/wp_na-blog\/wp-json\/wp\/v2\/tags?post=185"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}