B Bob Norris Beta member Messages 2 Oct 19, 2004 #1 Anybody know how to add a sub directory to a host file?? like: 127.0.0.1/myfolder/withmypageinit Thank you in advance
Anybody know how to add a sub directory to a host file?? like: 127.0.0.1/myfolder/withmypageinit Thank you in advance
M Masahiro BSOD Messages 1,896 Oct 19, 2004 #2 Erm, do you mean create a directory? If so, do it in your ftp client (see the help file if you need to know how)
Erm, do you mean create a directory? If so, do it in your ftp client (see the help file if you need to know how)
OP OP B Bob Norris Beta member Messages 2 Oct 19, 2004 #3 Same No,, A host file is used to steer a domain to a web page stored locally on a computer. It is usefull if you run a server on your network where have to get it locally. So what I need to know is how can you add a subdirectory to the code. Example: 127.0.0.1 www.mysite.com If you type in www.mysite.com and you have a server running on your computer it will go directly to the server. So heres what im asking; Web pags is in sub folder in directory: 127.0.0.1/webpage www.mysite.com How can I add a sub to the 127.0.0.1 ????
Same No,, A host file is used to steer a domain to a web page stored locally on a computer. It is usefull if you run a server on your network where have to get it locally. So what I need to know is how can you add a subdirectory to the code. Example: 127.0.0.1 www.mysite.com If you type in www.mysite.com and you have a server running on your computer it will go directly to the server. So heres what im asking; Web pags is in sub folder in directory: 127.0.0.1/webpage www.mysite.com How can I add a sub to the 127.0.0.1 ????
root Site Team Staff member Messages 8,185 Location UK Oct 20, 2004 #4 you can't add a sub directory to your host file... you cuold look at if from another way though... add a subdomain... so 127.0.0.1 http://www.mysite.com 127.0.0.1 http://test.mysite.com The either use a virtual directory config if you use apache or IIS to redirect the requests based on the broswer URL into the correct folder.
you can't add a sub directory to your host file... you cuold look at if from another way though... add a subdomain... so 127.0.0.1 http://www.mysite.com 127.0.0.1 http://test.mysite.com The either use a virtual directory config if you use apache or IIS to redirect the requests based on the broswer URL into the correct folder.