Ok, I addedCraig White said: [major trimage]My hosts file starts out as: 127.0.0.1 localhost 127.0.0.1 localhost.localdomain localhost 127.0.0.1 lokrin.com lokrin--- AFAIK - the right way to do this would be... 127.0.0.1 localhost.localdomain localhost ip_eth_0_or_1 lokrin.lokrin.com lokrin # no reason that I can think of to otherwise name the loopback device at all.It helps if you are on DHCP, and IIRC is the default setup. On the other hand, it is the default setup all on one line. 127.0.0.1 localhost.localdomain localhost lokrin.lokrin.com lokrin I don't know how multiple lines would react. Also assuming the OP has lokrin.com registered...
127.0.0.1 localhost.localdomain localhost lokrin.lokrin.com lokrin and 127.0.0.1 localhost.localdomain localhost ip_eth_0_or_1 lokrin.lokrin.com lokrinstill no change
as for DHCP and IIRC and OP (?) - - -
I only want to call the site up from the same computer that the site is on. I don't want anyone on the net to be able to call it up. My computer domain is set up for lokrin.com. My REAL website is at lokrin.net. I want to be able to work the site code locally and see what happens (when I make mistakes).
What gets me is that I was able to do it. Now I can't.
Also, it says I don't have permission to access "/" . Does this mean it is trying to access my root directory rather than my site directory, which according to webmin is:
Virtual Servers
|
Defines the default settings for all other
virtual servers, and processes any unhandled requests.
|
|||
|
Handles the name-based server on all addresses
|
|||
|
Processes all requests on port 443 not handled
by other virtual servers.
|
And the site IS located in both places. I need to set a link to redirect /var/www/html to the /home/lokrin/www/www sometime later....
Thanks