{"id":5956,"date":"2024-12-02T10:40:56","date_gmt":"2024-12-02T10:40:56","guid":{"rendered":"https:\/\/howtogeek.blog\/ja\/?p=5956"},"modified":"2024-12-02T10:40:56","modified_gmt":"2024-12-02T10:40:56","slug":"stepbystep-guide-to-edit-the-hosts-file-on-windows-mac-and-linux","status":"publish","type":"post","link":"https:\/\/howtogeek.blog\/ja\/stepbystep-guide-to-edit-the-hosts-file-on-windows-mac-and-linux\/","title":{"rendered":"Windows\u3001Mac\u3001Linux \u3067\u30db\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3059\u308b\u305f\u3081\u306e\u30b9\u30c6\u30c3\u30d7\u30d0\u30a4\u30b9\u30c6\u30c3\u30d7\u30ac\u30a4\u30c9"},"content":{"rendered":"<p>\u30db\u30b9\u30c8\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3059\u308b\u3053\u3068\u306f\u3001\u30de\u30b7\u30f3\u4e0a\u306e\u7279\u5b9a\u306e\u30c9\u30e1\u30a4\u30f3\u306e\u30c9\u30e1\u30a4\u30f3 \u30cd\u30fc\u30e0 \u30b7\u30b9\u30c6\u30e0 (DNS) \u3092\u30d0\u30a4\u30d1\u30b9\u3067\u304d\u308b\u5f37\u529b\u306a\u30c4\u30fc\u30eb\u3067\u3059\u3002\u3053\u308c\u306f\u3001\u5909\u66f4\u3092\u5b9f\u969b\u306e SSL \u5bfe\u5fdc\u30ea\u30f3\u30af\u306b\u4f1d\u64ad\u305b\u305a\u306b Web \u30b5\u30a4\u30c8\u3092\u30c6\u30b9\u30c8\u3059\u308b\u5834\u5408\u306b\u7279\u306b\u4fbf\u5229\u3067\u3059\u3002<\/p>\n<p>DNS \u306e\u5909\u66f4\u5f8c\u3001\u30a8\u30a4\u30ea\u30a2\u30b9 \u30c9\u30e1\u30a4\u30f3\u304c\u6b63\u3057\u304f\u6a5f\u80fd\u3059\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002\u30db\u30b9\u30c8\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u5909\u66f4\u3059\u308b\u3068\u3001\u30ed\u30fc\u30ab\u30eb \u30b7\u30b9\u30c6\u30e0\u306f\u6307\u5b9a\u3057\u305f\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8 \u30d7\u30ed\u30c8\u30b3\u30eb (IP) \u30a2\u30c9\u30ec\u30b9\u3092\u53c2\u7167\u3059\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u30c7\u30d0\u30a4\u30b9\u306b\u3088\u3063\u3066\u7570\u306a\u308b\u305f\u3081\u3001\u30db\u30b9\u30c8\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u7de8\u96c6\u30d7\u30ed\u30bb\u30b9\u304c\u3084\u3084\u308f\u304b\u308a\u306b\u304f\u3044\u3068\u611f\u3058\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002\u3053\u306e\u30ac\u30a4\u30c9\u306f\u3001Windows\u3001Mac\u3001Linux \u306e\u30e6\u30fc\u30b6\u30fc\u5411\u3051\u306b\u624b\u9806\u3092\u660e\u78ba\u306b\u3057\u3001\u30db\u30b9\u30c8\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u7c21\u5358\u306b\u7de8\u96c6\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u3092\u76ee\u7684\u3068\u3057\u3066\u3044\u307e\u3059\u3002\u3055\u3063\u305d\u304f\u59cb\u3081\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2 class=\"wp-block-heading\" id=\"edit-hosts-file\">Windows\u3001Mac\u3001Linux \u3067\u30db\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3059\u308b\u65b9\u6cd5<\/h2>\n<p>\u30db\u30b9\u30c8\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u5909\u66f4\u3059\u308b\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306b\u6982\u8aac\u3059\u308b\u7c21\u6f54\u306a\u624b\u9806\u306b\u5f93\u3063\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3 class=\"wp-block-heading\" id=\"windows-edit-hosts\">1. Windows 10\u300111\u30018.1\u30017 \u3067\u30db\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3059\u308b<\/h3>\n<p>Windows \u306e\u30db\u30b9\u30c8 \u30d5\u30a1\u30a4\u30eb\u306e\u7de8\u96c6\u306f\u8907\u96d1\u306b\u601d\u3048\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u308f\u304b\u308a\u3084\u3059\u3044\u30ac\u30a4\u30c9\u304c\u3042\u308c\u3070\u7c21\u5358\u306b\u7ba1\u7406\u3067\u304d\u307e\u3059\u3002\u4ee5\u4e0b\u306b\u3001\u5f79\u7acb\u3064\u56f3\u3068\u3068\u3082\u306b\u5b9f\u884c\u3067\u304d\u308b\u624b\u9806\u3092\u793a\u3057\u307e\u3059\u3002<\/p>\n<ol class=\"wp-block-list\">\n<li><strong>\u7ba1\u7406\u8005\u3068\u3057\u3066\u30e1\u30e2\u5e33\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002<\/strong><strong>\u30b9\u30bf\u30fc\u30c8 \u30e1\u30cb\u30e5\u30fc<\/strong>\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3001\u300c\u30e1\u30e2\u5e33\u300d\u3068\u5165\u529b\u3057\u3066\u53f3\u30af\u30ea\u30c3\u30af\u3057\u3001<strong>\u7ba1\u7406\u8005\u3068\u3057\u3066\u5b9f\u884c\u3092<\/strong>\u9078\u629e\u3057\u307e\u3059\u3002<\/li>\n<li><strong>\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304f: <\/strong><strong>[\u30d5\u30a1\u30a4\u30eb]<\/strong>\u30bf\u30d6\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001<strong>[\u958b\u304f]<\/strong>\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/li>\n<li><strong>Hosts \u30d5\u30a1\u30a4\u30eb\u306b\u79fb\u52d5\u3057\u307e\u3059:<\/strong>\u30d1\u30b9\u3092\u5165\u529b\u3057\u307e\u3059: <code>c:\\windows\\system32\\drivers\\etc\\hosts<\/code>\u3002<\/li>\n<li><strong>\u3059\u3079\u3066\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u9078\u629e:<\/strong> [\u958b\u304f] \u30c0\u30a4\u30a2\u30ed\u30b0\u306e\u53f3\u4e0b\u9685\u3067\u3001\u30d5\u30a1\u30a4\u30eb\u306e\u7a2e\u985e\u3092<strong>[\u3059\u3079\u3066\u306e\u30d5\u30a1\u30a4\u30eb]<\/strong>\u306b\u8a2d\u5b9a\u3057\u3066\u3001\u30db\u30b9\u30c8 \u30d5\u30a1\u30a4\u30eb\u3092\u9069\u5207\u306b\u7de8\u96c6\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n<h3 class=\"wp-block-heading\" id=\"linux-edit-hosts\">2. Linux \u3067\u306e\u30db\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u7de8\u96c6<\/h3>\n<p>\u3053\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u306f\u3001Ubuntu \u307e\u305f\u306f\u305d\u306e\u4ed6\u306e Linux \u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u306e\u30e6\u30fc\u30b6\u30fc\u5411\u3051\u306b\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3055\u308c\u3066\u3044\u307e\u3059\u3002hosts \u30d5\u30a1\u30a4\u30eb\u306e\u7de8\u96c6\u306f\u3001\u30bf\u30fc\u30df\u30ca\u30eb\u304b\u3089\u76f4\u63a5\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u6b21\u306e\u624b\u9806\u306b\u5f93\u3044\u307e\u3059\u3002<\/p>\n<ul class=\"wp-block-list\">\n<li><strong>\u30bf\u30fc\u30df\u30ca\u30eb\u3092\u958b\u304d\u307e\u3059\u3002<\/strong><strong>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3 &gt; \u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3 &gt; \u30bf\u30fc\u30df\u30ca\u30eb<\/strong>\u306e\u4e0b\u306b\u3042\u308a\u307e\u3059\u3002<\/li>\n<li><strong>Hosts \u30d5\u30a1\u30a4\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u306b\u306f\u3001<\/strong>\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059<code>sudo vim \/etc\/hosts<\/code>\u3002<\/li>\n<li><strong>\u7de8\u96c6\u3057\u3066\u4fdd\u5b58:<\/strong><code>0.0.0.0 server.domain.com<\/code>\u5fc5\u8981\u306a\u30a8\u30f3\u30c8\u30ea\u3092\u5909\u66f4\u3057\u307e\u3059\u3002\u7de8\u96c6\u5185\u5bb9\u304c\u78ba\u5b9f\u306b\u4fdd\u5b58\u3055\u308c\u308b\u3088\u3046\u306b\u3001\u30bf\u30fc\u30df\u30ca\u30eb\u3092\u9589\u3058\u308b\u524d\u306b\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3092\u5fd8\u308c\u306a\u3044\u3067\u304f\u3060\u3055\u3044\u3002<\/li>\n<\/ul>\n<p>\u30cd\u30fc\u30e0 \u30b5\u30fc\u30d0\u30fc\u306e\u8a2d\u5b9a\u3092\u5909\u66f4\u3059\u308b\u5834\u5408\u3001hosts \u30d5\u30a1\u30a4\u30eb\u306f\u901a\u5e38\u3001\u6a19\u6e96\u306e DNS \u30eb\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u30d0\u30a4\u30d1\u30b9\u3059\u308b\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u305f\u3060\u3057\u3001\u5225\u306e\u69cb\u6210\u30d5\u30a1\u30a4\u30eb \u3092\u901a\u3058\u3066\u5909\u66f4\u3092\u52a0\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059<strong><kbd>nsswitch.conf<\/kbd><\/strong>\u3002\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u306f\u3001OS \u304c IP \u30a2\u30c9\u30ec\u30b9\u5909\u63db\u3092\u51e6\u7406\u3059\u308b\u65b9\u6cd5\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u69cb\u6210\u3092\u78ba\u8a8d\u3059\u308b\u306b\u306f\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<p> <code>cat \/etc\/nsswitch.conf<\/code><\/p>\n<p><strong>\u30d5\u30a1\u30a4\u30eb\u306e<\/strong>\u30a8\u30f3\u30c8\u30ea\u304c\u30db\u30b9\u30c8 \u30bb\u30af\u30b7\u30e7\u30f3\u306e\u6700\u521d\u306b\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\u8868\u793a\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3057\u307e\u3059\u3002<\/p>\n<p> <code>sudo vim \/etc\/nsswitch.conf<\/code><\/p>\n<h3 class=\"wp-block-heading\" id=\"mac-edit-hosts\">3. macOS\u3067Hosts\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3059\u308b<\/h3>\n<p>macOS \u306e\u30d7\u30ed\u30bb\u30b9\u306f Linux \u306e\u5834\u5408\u3068\u4f3c\u3066\u3044\u307e\u3059\u3002\u307b\u3068\u3093\u3069\u306e\u30e6\u30fc\u30b6\u30fc\u306f\u3001\u30bf\u30fc\u30df\u30ca\u30eb\u3092\u4f7f\u7528\u3057\u3066\u7de8\u96c6\u3059\u308b\u65b9\u304c\u7c21\u5358\u3060\u3068\u611f\u3058\u3066\u3044\u307e\u3059\u3002\u6b21\u306e\u624b\u9806\u306b\u5f93\u3044\u307e\u3059\u3002<\/p>\n<ul class=\"wp-block-list\">\n<li><strong>\u30bf\u30fc\u30df\u30ca\u30eb\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002Finder <\/strong><strong>&gt; \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3 &gt; \u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3 &gt; \u30bf\u30fc\u30df\u30ca\u30eb<\/strong>\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/li>\n<li><strong>Hosts \u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304d\u307e\u3059\u3002<\/strong>\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059<code>sudo nano \/private\/etc\/hosts<\/code>\u3002<\/li>\n<li>\u30b7\u30b9\u30c6\u30e0\u304c\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u8981\u6c42\u3057\u307e\u3059\u3002\u30ed\u30b0\u30a4\u30f3\u306b\u4f7f\u7528\u3057\u305f\u306e\u3068\u540c\u3058\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n<li><strong>\u614e\u91cd\u306b\u7de8\u96c6\u3057\u3066\u304f\u3060\u3055\u3044: IP \u30a2\u30c9\u30ec\u30b9\u304c\u30c9\u30e1\u30a4\u30f3\u540d\u306e\u524d\u306b\u3042\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u9593\u9055\u3044\u304c\u3042\u3063\u305f\u5834\u5408\u306f\u3001 <\/strong><strong># \u3092<\/strong>\u4f7f\u7528\u3057\u3066\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ul>\n<p><strong><kbd>Command<\/kbd>\u5909\u66f4\u5f8c\u306f\u3001 + \u3092<kbd>O<\/kbd><\/strong>\u62bc\u3057\u3066\u5909\u66f4\u3092\u4fdd\u5b58\u3057\u3001<strong><kbd>Command<\/kbd>+<kbd>X<\/kbd><\/strong>\u3067\u7d42\u4e86\u3057\u307e\u3059\u3002<\/p>\n<p>\u7d50\u8ad6\u3068\u3057\u3066\u3001Windows\u3001Linux\u3001macOS \u3067\u30db\u30b9\u30c8 \u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3059\u308b\u3068\u3001Web \u958b\u767a\u3068\u30c6\u30b9\u30c8\u306e\u30d7\u30ed\u30bb\u30b9\u304c\u5927\u5e45\u306b\u5f37\u5316\u3055\u308c\u307e\u3059\u3002\u3053\u306e\u30ac\u30a4\u30c9\u3067\u30d7\u30ed\u30bb\u30b9\u304c\u660e\u78ba\u306b\u306a\u3063\u305f\u3053\u3068\u3092\u9858\u3063\u3066\u3044\u307e\u3059\u3002\u3054\u8cea\u554f\u3084\u3055\u3089\u306a\u308b\u30b5\u30dd\u30fc\u30c8\u304c\u5fc5\u8981\u306a\u5834\u5408\u306f\u3001\u304a\u6c17\u8efd\u306b\u30b3\u30e1\u30f3\u30c8\u3092\u6b8b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30db\u30b9\u30c8\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3059\u308b\u3053\u3068\u306f\u3001\u30de\u30b7\u30f3\u4e0a\u306e\u7279\u5b9a\u306e\u30c9\u30e1\u30a4\u30f3\u306e\u30c9\u30e1\u30a4\u30f3 \u30cd\u30fc\u30e0 \u30b7\u30b9\u30c6\u30e0 (DNS) \u3092\u30d0\u30a4\u30d1\u30b9\u3067\u304d\u308b\u5f37\u529b\u306a\u30c4\u30fc\u30eb\u3067\u3059\u3002\u3053\u308c\u306f\u3001\u5909\u66f4\u3092\u5b9f\u969b\u306e SSL \u5bfe\u5fdc\u30ea\u30f3\u30af\u306b\u4f1d\u64ad\u305b\u305a\u306b Web \u30b5\u30a4\u30c8\u3092\u30c6\u30b9\u30c8\u3059\u308b\u5834\u5408\u306b\u7279\u306b\u4fbf\u5229\u3067\u3059\u3002 DNS \u306e\u5909\u66f4\u5f8c\u3001\u30a8\u30a4\u30ea\u30a2\u30b9 \u30c9\u30e1\u30a4\u30f3\u304c\u6b63\u3057\u304f\u6a5f\u80fd\u3059\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002\u30db\u30b9\u30c8\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u5909\u66f4\u3059\u308b\u3068\u3001\u30ed\u30fc\u30ab\u30eb \u30b7\u30b9\u30c6\u30e0\u306f\u6307\u5b9a\u3057\u305f\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8 \u30d7\u30ed\u30c8\u30b3\u30eb (IP) \u30a2\u30c9\u30ec\u30b9\u3092\u53c2\u7167\u3059\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002 \u30c7\u30d0\u30a4\u30b9\u306b\u3088\u3063\u3066\u7570\u306a\u308b\u305f\u3081\u3001\u30db\u30b9\u30c8\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u7de8\u96c6\u30d7\u30ed\u30bb\u30b9\u304c\u3084\u3084\u308f\u304b\u308a\u306b\u304f\u3044\u3068\u611f\u3058\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002\u3053\u306e\u30ac\u30a4\u30c9\u306f\u3001Windows\u3001Mac\u3001Linux \u306e\u30e6\u30fc\u30b6\u30fc\u5411\u3051\u306b\u624b\u9806\u3092\u660e\u78ba\u306b\u3057\u3001\u30db\u30b9\u30c8\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u7c21\u5358\u306b\u7de8\u96c6\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u3092\u76ee\u7684\u3068\u3057\u3066\u3044\u307e\u3059\u3002\u3055\u3063\u305d\u304f\u59cb\u3081\u307e\u3057\u3087\u3046\u3002 Windows\u3001Mac\u3001Linux \u3067\u30db\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3059\u308b\u65b9\u6cd5 \u30db\u30b9\u30c8\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u5909\u66f4\u3059\u308b\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306b\u6982\u8aac\u3059\u308b\u7c21\u6f54\u306a\u624b\u9806\u306b\u5f93\u3063\u3066\u304f\u3060\u3055\u3044\u3002 1. Windows 10\u300111\u30018.1\u30017 \u3067\u30db\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3059\u308b Windows \u306e\u30db\u30b9\u30c8 \u30d5\u30a1\u30a4\u30eb\u306e\u7de8\u96c6\u306f\u8907\u96d1\u306b\u601d\u3048\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u308f\u304b\u308a\u3084\u3059\u3044\u30ac\u30a4\u30c9\u304c\u3042\u308c\u3070\u7c21\u5358\u306b\u7ba1\u7406\u3067\u304d\u307e\u3059\u3002\u4ee5\u4e0b\u306b\u3001\u5f79\u7acb\u3064\u56f3\u3068\u3068\u3082\u306b\u5b9f\u884c\u3067\u304d\u308b\u624b\u9806\u3092\u793a\u3057\u307e\u3059\u3002 \u7ba1\u7406\u8005\u3068\u3057\u3066\u30e1\u30e2\u5e33\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002\u30b9\u30bf\u30fc\u30c8 \u30e1\u30cb\u30e5\u30fc\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3001\u300c\u30e1\u30e2\u5e33\u300d\u3068\u5165\u529b\u3057\u3066\u53f3\u30af\u30ea\u30c3\u30af\u3057\u3001\u7ba1\u7406\u8005\u3068\u3057\u3066\u5b9f\u884c\u3092\u9078\u629e\u3057\u307e\u3059\u3002 \u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304f: [\u30d5\u30a1\u30a4\u30eb]\u30bf\u30d6\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001[\u958b\u304f]\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002 Hosts \u30d5\u30a1\u30a4\u30eb\u306b\u79fb\u52d5\u3057\u307e\u3059:\u30d1\u30b9\u3092\u5165\u529b\u3057\u307e\u3059: c:\\windows\\system32\\drivers\\etc\\hosts\u3002 \u3059\u3079\u3066\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u9078\u629e: [\u958b\u304f] \u30c0\u30a4\u30a2\u30ed\u30b0\u306e\u53f3\u4e0b\u9685\u3067\u3001\u30d5\u30a1\u30a4\u30eb\u306e\u7a2e\u985e\u3092[\u3059\u3079\u3066\u306e\u30d5\u30a1\u30a4\u30eb]\u306b\u8a2d\u5b9a\u3057\u3066\u3001\u30db\u30b9\u30c8 \u30d5\u30a1\u30a4\u30eb\u3092\u9069\u5207\u306b\u7de8\u96c6\u3057\u307e\u3059\u3002 2. Linux \u3067\u306e\u30db\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u7de8\u96c6 \u3053\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u306f\u3001Ubuntu \u307e\u305f\u306f\u305d\u306e\u4ed6\u306e Linux \u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u306e\u30e6\u30fc\u30b6\u30fc\u5411\u3051\u306b\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3055\u308c\u3066\u3044\u307e\u3059\u3002hosts \u30d5\u30a1\u30a4\u30eb\u306e\u7de8\u96c6\u306f\u3001\u30bf\u30fc\u30df\u30ca\u30eb\u304b\u3089\u76f4\u63a5\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u6b21\u306e\u624b\u9806\u306b\u5f93\u3044\u307e\u3059\u3002 \u30bf\u30fc\u30df\u30ca\u30eb\u3092\u958b\u304d\u307e\u3059\u3002\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3 &gt; \u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3 &gt; \u30bf\u30fc\u30df\u30ca\u30eb\u306e\u4e0b\u306b\u3042\u308a\u307e\u3059\u3002 Hosts \u30d5\u30a1\u30a4\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u306b\u306f\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059sudo vim [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[205,23,19],"class_list":["post-5956","post","type-post","status-publish","format-standard","hentry","category-how-to","tag-linux","tag-macos","tag-windows"],"acf":[],"_links":{"self":[{"href":"https:\/\/howtogeek.blog\/ja\/wp-json\/wp\/v2\/posts\/5956","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/howtogeek.blog\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/howtogeek.blog\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/howtogeek.blog\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/howtogeek.blog\/ja\/wp-json\/wp\/v2\/comments?post=5956"}],"version-history":[{"count":1,"href":"https:\/\/howtogeek.blog\/ja\/wp-json\/wp\/v2\/posts\/5956\/revisions"}],"predecessor-version":[{"id":5957,"href":"https:\/\/howtogeek.blog\/ja\/wp-json\/wp\/v2\/posts\/5956\/revisions\/5957"}],"wp:attachment":[{"href":"https:\/\/howtogeek.blog\/ja\/wp-json\/wp\/v2\/media?parent=5956"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/howtogeek.blog\/ja\/wp-json\/wp\/v2\/categories?post=5956"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/howtogeek.blog\/ja\/wp-json\/wp\/v2\/tags?post=5956"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}