ãããVPSã®ãµããã¡ã¤ã³è¨å®æ¹æ³
ããµããã¡ã¤ã³ã®å©ç¨ã¯ãç¬èªãã¡ã¤ã³ãåå¾ãã¦ãµã¤ãéå¶ãè¡ãªã£ã¦ããæ¹ã«ã¨ã£ã¦åãã¡ãªãããããã¨æãã®ã§ã¾ã¨ãã¦ã¿ã¾ããã
ãµããã¡ã¤ã³ã¨ã¯ï¼
ãç¬èªãã¡ã¤ã³ã®é ã«è±æ°åã足ããæ¬ä¼¼çã«å¥ã®ãã¡ã¤ã³ã®ããã«è¦ãããã¡ã¤ã³ã®ãã¨ã§ãã
yahooãä¾ã«ããã¨
- ç¬èªãã¡ã¤ã³ï¼yahoo.co.jp
- ãµããã¡ã¤ã³
- ã¤ããªã¯ï¼auctions.yahoo.co.jp
- ã¤ãã¼ã¡ã¼ã«ï¼mail.yahoo.co.jp
ãã®ãmailãããauctionsãã®ããã«èªç±ã«æåã足ãã¦ãç¬èªãã¡ã¤ã³ã£ã½ãè¦ãããã¨ãåºæ¥ã¾ãã
ãµããã¡ã¤ã³ãå©ç¨ããã¡ãªãã
- yahoo.co.jp/auctions/ãã¨ãã£ãé層ã§æ±ããããã¹ãããªãã¦è¦ãã
- æ°è¦ã«ãã¡ã¤ã³ãåå¾ããªãã¦ããããã£ã½ãã®ãæ±ãã
- ãµã¼ãã¹ã®æã¤ãã©ã³ãã¤ã¡ã¼ã¸ããµã¼ãã¹éã§å ±æã§ãã
ãããã ãã®ã¡ãªãããæããªããããã¡ãªããã¯ç¹ã«ç¡ããã¨ãããã¨ãªã®ã§ãå©ç¨åºæ¥ãç¶æ³ãªãã¬ã³ã¬ã³å©ç¨ãããã§ããï¼ã¨ãããã¨ã§ãèªåã®ä½¿ã£ã¦ãããããVPSã§ã®è¨å®ãä¸è¨ã«ã¾ã¨ãã¾ããã
ä»åè¨å®ããæ¡ä»¶
- ç¬èªãã¡ã¤ã³: hateloop.com
- 使ç¨ããé層: /var/www/html
- ç»é²ãããµããã¡ã¤ã³: blog.hateloop.com
- ãµããã¡ã¤ã³ã§ä½¿ç¨ããé層:/var/www/blog
- ãããVPSã®IPã¢ãã¬ã¹(ä»®): 192.168.0.1
ããããã®æ¡ä»¶ãå ã«ãµããã¡ã¤ã³ã®è¨å®ã解説ãã¾ãã
ã¾ãããã¼ã ãµã¼ãã¼ã¡ãã¥ã¼ã«è¡ãã¾ãã
https://secure.sakura.ad.jp/menu/dns/
1: ã¾ã¼ã³è¨å®ãã¯ãªãã¯ãã¾ãã
2: ã¨ã³ããªåã®è¿½å ã¨å¤æ´ã®ç®æãä¸å³ã®ããã«æ¸ãã¾ãã
3: ç»é¢å·¦å´ã®ãã¼ã¿ã®éä¿¡ãã¯ãªãã¯ã
4: ãã¼ã ãµã¼ãã¼ã¡ãã¥ã¼ã«æ»ããblogããç»é²ããã¦ããäºã確èªãã¾ãã
次ã«Apachã®è¨å®ãè¡ãã¾ãã
ãè¨å®ã«ã¯ã³ã³ã½ã¼ã«ãç¨ãã¾ããã³ã³ã½ã¼ã«ã®è¨å®ã«ã¤ãã¦ã¯ã以ä¸ã®ãµã¤ãã§åãæãç´¹ä»ããã¦ãã¾ãã
åå¿è ã§ãåããï¼ãããVPS|sakuraVPS ããã¥ã¢ã«
http://www.xn--vps-073b3a72a.com/4.html
1: ã³ã³ã½ã¼ã«ã§ä»¥ä¸ã®ã³ãã³ããå ¥åããhttpd.confãç·¨éãã¾ãã
2: ãã¡ã¤ã«ã®ä¸çªä¸ã«ã以ä¸ã®å 容ãæ¸ãå ãã¾ãã
ï¼æ³¨:ä¸è¨ããæ¡ä»¶ã«é©å¿ããç®æã¯ãé©å®æ¸ãæãã¦ä¸ãã)
NameVirtualHost 192.168.0.1:80 <VirtualHost 192.168.0.1:80> DocumentRoot /var/www/html ServerName hateloop.com </VirtualHost> <VirtualHost 192.168.0.1:80> DocumentRoot /var/www/blog ServerName blog.hateloop.com </VirtualHost>
3: è¨å®å¾ãã³ã³ã½ã¼ã«ã§ã¢ãããã®åèµ·åãè¡ãã¾ãã
/etc/rc.d/init.d/httpd restart
以ä¸ã§ããµããã¡ã¤ã³ã®è¨å®ã¯çµããã§ãã
ãç²ãæ§ã§ããã