테스트 사이트 - 개발 중인 베타 버전입니다

자기 컴퓨터에서 자신만에 홈피 주소 사용하기.

· 14년 전 · 896 · 5
ip.bat // 파일 하나 생성하세요..
==========================================================================================
FIND /C /I "activate.adobe.com" %WINDIR%\system32\drivers\etc\hosts
IF %ERRORLEVEL% NEQ 0 ECHO ^서버아이피주소 홈페이지주소 # SIR >>%WINDIR%\system32\drivers\etc\hosts
===========================================================================================
저장후 실행하세요... 
 
Ex: 자신에 컴퓨터 아이피 주소가 192.168.10.200 이고 홈피 주소를 sir.com 사용하고 싶다
      같은 공유기 사용시에 같은 라인에 컴퓨터에서도 이걸 추가만 해줘도 되죠
==========================================================================================
FIND /C /I "activate.adobe.com" %WINDIR%\system32\drivers\etc\hosts
IF %ERRORLEVEL% NEQ 0 ECHO ^192.168.10.200 sir.com # SIR >>%WINDIR%\system32\drivers\etc\hosts
==========================================================================================
 

 
 
원상 복귀하는 방법  
C:\WINDOWS\system32\drivers\etc\hosts
 
hosts 파일에서
기본 소스
==============
# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host
127.0.0.1       localhost
==================================================
 
127.0.0.1 밑에 소스 지우시면되요.
 

댓글 작성

댓글을 작성하시려면 로그인이 필요합니다.

로그인하기

댓글 5개

추천합니다.
감사여~
14년 전
카이루님 늘 감사드립니다!
헐 늘은 아닙니다 심심할때만..;;;
추천합니다.

게시글 목록

번호 제목
32341
32339
32326
32325
32322
32319
32318
32316
32315
32313
32312
32311
32310
32304
32303
32300
32293
32292
32291
32285
32284
32275
32271
32268
32265
32261
32258
32257
32255
32254
32253
32251
32250
32249
32247
32246
32245
32244
32243
32242
32241
32240
32239
32238
32237
32236
32232
32229
32228
32227
32217
32215
32214
32213
32211
32207
32196
32193
32192
32190
32188
32186
32184
32173
32172
32171
32167
32165
32163
32162
32158
32157
32155
32151
32149
32135
32132
32127
32125
32122
32120
32119
32117
32116
32115
32114
32112
32111
32109
32107
32104
32103
32102
32101
32094
32089
20404
31036
8279
8268