Forum Moderators: phranque
I have a static ip for my location, but most of the "virtual servers" do not have registered domain names at this point so I can not access from outside my local network.
My question, is there a way when I am wanting to access from elsewhere that I can pass the virtual domain name along with the ip address? I have a virtual domain set up as "thj" on this inhouse server. It is a site I am developing and as yet do not have a registered domain name for it. In house, I add "192.168.1.8 thj" to my hosts file and I get to it with "http://thj" ( actually, just thj) and it works fine. I can also change the hosts file replacing the "192.168.1.8" with my static ip for my DSL account and I can get to it that way as well. I have gone to a neighbors and added the entry to their hosts file, and that works. Is there a way to simply go to http:// (my statis ip) and pass it the virtual name so that it finds the right virtual server? I have tried tacking "~thj" onto the ip address, but that does not work. Going to the ip address loads my default server, and that is not what I want.
I hope this makes sense, and that someone knows how to do this.
Thanks for your time in reading this.
Steven