0
votes
1answer
123 views

tftp times out on localhost

On the same server, I can't connect to my in.tftp over localhost name: $ tftp localhost -c put test.file && echo Sent\! Transfer timed out. $ tftp 127.0.0.1 -c put test.file && echo ...
0
votes
2answers
234 views

HOSTS ignored when disconnected [closed]

Problem I’m seeing a strange and extremely frustrating problem. Any system that is not connect to the Internet (Windows 7 shows the no Internet access icon because it cannot constantly ping ...
0
votes
1answer
211 views

Multiple virtual hosts on localhost for development

I'm using Xampp (Apace 2.2.20) on mac os lion for development. I have a number of CMS projects and i want to access them by going to cms1.localhost, cms2.localhost, cms3.localhost etc Currently, with ...
2
votes
3answers
1k views

editing apache vhosts and ubuntu hosts file?

I have just installed ubuntu (11.04). I have installed apache/mysql/php etc. I have a few sites sitting in /var/www/site1 /var/www/site2 /var/www/site3 I want to be able to access these at ...
1
vote
1answer
461 views

Is adding servername as an alias for localhost/loopback correct?

On linux systems, I've seen many variations of /etc/hosts configurations with regards to the loopback address, localhost, and server aliases. Some include the servername as an alias for the ...
2
votes
2answers
732 views

Alternative to HOSTS file for virtual hosts?

I am running Windows 7, Apache 2.28 is my version of Apache, localhost and virtual hosts run well. Only one issue - what's the best alternative to using the HOSTS file? I tried DNSKong, but not sure ...
0
votes
2answers
227 views

/etc/hosts file doesnt forward to localhost for subdomain begins with www [closed]

On my desktop I use /etc/hosts file like as below for developing purpose 127.0.0.1 a.example.com 127.0.0.1 www.a.example.com 127.0.0.1 adsense.a.example.com 127.0.0.1 foto.a.example.com ...
3
votes
3answers
2k views

Is it safe to add additional 127.0.0.1 entries to /etc/hosts?

I want to add this entry: 127.0.0.1 api.localhost To test the api of my web app. However, the hosts file says: ## # Host Database # # localhost is used to configure the loopback interface # ...
1
vote
2answers
6k views

Hosts file entries for multiple domains on VPS?

mydomain is the main domain (in Plesk, Media Temple MT VPS), and under that are several Wordpress sites, like mysite1.com, mysite2.com, etc. Problem is that I get lots of these errors in httpd's ...
0
votes
2answers
1k views

Hosts file entry directed to a directory on localhost

I have a directory setup with a nice error message at http://localhost/blocked/. I'd like to direct entries in my hosts relating to sites I've blocked to that instead of just 127.0.0.1. ...
0
votes
2answers
211 views

Problems pointing site to site in Hosts file

I'm on my localhost PC. I need to add an entry that maps our public site to our dev server. I tried several things with no luck: 192.168.1.40 oursite.com // where the IP here is our internal dev ...
-1
votes
6answers
10k views

localhost went “It works!” - and nothing else

I'm working with Mac's built in Apache, and everything was just great UNTIL - something went wrong. I think it's the .hosts file. http://localhost results with "It works!" message, while any ...