-1
votes
1answer
63 views

Running localhost webapp projects under domain name using fiddler2

I have a Tomcat server running on my local dev machine(running Windows8) & I use fiddler2 to assign an alias to localhost as my domain name (www.mydomainName.com), so my application webpages open ...
0
votes
1answer
141 views

Bind9 as a caching resolver fails with mismatch ID on localhost but not external IP

I'm running Ubuntu 12.04 LTS on a machine on my private network. I have bind9 installed (v9.8.1-P1) via aptitude, so it appears to have put all the bits in the right places and the service starts ...
2
votes
1answer
3k views

DNS server can't resolve localhost name

I'm trying to set up an Apache server on my RHEL6.4 vm and can't because dnsmasq can't recognize the hostname for some reason: nslookup rhel64.example.com Server: xxx.xxx.xx.1 Address: ...
-3
votes
1answer
84 views

What are the drawback if I use 127.0.0.1 instead of 127.0.1.1 in my host file?

Ubuntu default host file is something like 127.0.0.1 localhost 127.0.1.1 myhostname Will there be any drawback if I change to: 127.0.0.1 localhost myhostname
0
votes
2answers
221 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 ...
1
vote
1answer
93 views

404 in local server with apache and dnsmasq

I have been trying to setup a local server to the ones mentioned here and here(added TLDR at the bottom), but I keep getting 404s no matter what I try. I can ping both google.com and xxxx.dev. So I ...
0
votes
1answer
102 views

Can I put “localhost” into /etc/hostname?

I want to stop apache2 from querying the dns name at every start and to make it faster. There is absolutely no reason for apache to do any DNS-queries at all. For redirects it has to use the name ...
2
votes
3answers
645 views

How do I force BIND9 to bind to a specific IP?

This is my setup: $ ip addr 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo ...
-2
votes
1answer
198 views

Google DNS for localhost

Updated: I want to use Google DNS for my localhost server. Is that possible? The main reason for this is I keep getting the following errors for the functions like file(), fopen() etc. ...
6
votes
3answers
1k views

DNS Lookups for local MAMP web server URL taking 5+ seconds

I'm running MAMP on OS X 10.7. I've set up a virtual host in Apache, like so: <Directory "/sites/example.com/"> Allow From All AllowOverride All </Directory> <VirtualHost *:80> ...
2
votes
2answers
664 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
223 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 ...
1
vote
1answer
557 views

Wildcard dns as subdomain in localhost using apache

i am developing a web application in Zend Framework running in apache server (xampp). The site can actually be accessed by http://localhost/sitename . It is present in c:/xampp/htdocs/sitename/ I ...
0
votes
2answers
210 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
vote
3answers
1k views

Fake domain doesn't resolve when offline

I have a flimsy grasp of DNS. Nonetheless, in order to install a local development copy of Wordpress MU, I needed to create a fake domain, which I called local.dev. It and all subdomains simply ...
7
votes
3answers
4k views

localhost in a DNS zone

Our ISP also hosts our external DNS. By default they include an entry for localhost. For example: localhost.example.com. 86400 IN A 127.0.0.1 When I've asked them to remove it they give me a hard ...
3
votes
4answers
833 views

Virtual hosts on same ip AND port

Is this even possible? My current vhost.conf entries: <VirtualHost www2.b-page.lv:80> ServerAdmin example@example.com DocumentRoot "C:/xampp/htdocs/b-page" ServerName b-page ...
0
votes
2answers
80 views

Website showing localhost?

I recently added a alias and virtualhost to apache on my development machine. Today I stumbled across a website under the domain http://www.circle.nu/. This domain showed my localhost homepage (It's ...
1
vote
3answers
677 views

hosts file and multiple sub-domains

For local testing (and learning), I wish to use x.com host name instead of localhost. I changed my Windows XP host file to this - 127.0.0.1 x.com Now http://x.com/ works beautifully but ...
0
votes
4answers
2k views

Domain name is forwarding to my localhost, no idea why

On my local development machine, I have a WAMP setup (Windows Vista Home Premium, Apache 2, MySQL and PHP 5). One of my projects is rehash.dustinfineout.com, which may be related to the problem... For ...