The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
5answers
941 views

apache2, vhosts and servername directive

I'm running an apache development environment on my ubuntu desktop machine. When I start apache, I get the error "apache2: Could not reliably determine the server's fully qualified domain name, using ...
0
votes
1answer
178 views

Define hosts in Apache config instead of /etc/hosts?

Is it possible to configure a VirtualHost for Apache with custom hosts settings without modifying /etc/hosts? I want a VirtualHost to connect to a different host for testing then my live system. For ...
2
votes
5answers
1k views

How to copy /etc/hosts to all my machines?

import os, sys, time servers = ['dev','admin','db1'] for s in servers: cmd = 'scp /etc/hosts regular_user@%s:/etc/hosts' % s print cmd os.system(cmd) I have written this script to copy ...
0
votes
4answers
2k views

Wildcard *.local hosts to apache on OS X

I would like to route all my *.local or *.dev domains to a specific IP, either the IP of my Ubuntu VM or localhost. Is this possible? Can I use the /etc/hosts file? I am running Mac OS X Snow ...
0
votes
2answers
829 views

How can I edit/update hosts(etc/hosts) file using any programming language [closed]

Dynamically I want to edit/update hosts(etc/hosts) file to add domain. To edit hosts(etc/hosts) file require Admin privileged. Using Linux I can do this by this command sudo gedit /etc/hosts But ...
11
votes
5answers
1k views

Renting a dedicated, but getting a VPS. How to detect?

When renting a dedicated server, how can one be certain than he/she is not getting a VPS or some other virtual machine variant instead of a true dedicated hardware box? Which checks can be run ...
0
votes
3answers
92 views

Hosts available via IE only

Here's a situation I haven't seen before: I have a Windows Server 2008 R2 machine that can see other hosts only from Internet Explorer. I can't ping them, can't find them via tracert, etc. All other ...
2
votes
2answers
1k views

Redhat doesn't set my desired hostname on reboot

I have a redhat (EL5) server that I need to change the hostname on. I'm trying to put it back into a known state to help with server provisioning activities. As part of changing the hostname, I'm ...
3
votes
1answer
5k views

What's required for a nameserver to be registered?

I'm trying to change nameservers for some of my domains at GoDaddy, but I occasionally run into "Nameserver not registered" problems, and then I'm not allowed to set the nameservers. Here are the ...
6
votes
1answer
11k views

“My unqualified host name (foo.bar) unknown” Problem

When trying to start sendmail or send a mail using a wordpress plugin, this error shows up in the maillog: "My unqualified host name (foo.bar) unknown; sleeping for retry" After Googling the best ...
13
votes
10answers
27k views

Can I specify a port in an entry in my /etc/hosts on OS X? [duplicate]

Possible Duplicate: How to use DNS to redirect domain to specific port on my server I want to trick my browser into going to localhost:3000 instead of xyz.com. I went into /etc/hosts on OS ...
2
votes
1answer
898 views

How do I setup a custom host in Linux Mint?

I want to redirect a host to local machine, in windows you get a hosts file. Is there something like this in Linux?
10
votes
12answers
15k views

HOSTS file being ignored

My (Windows XP, Professional, v2002, SP3) workstation is completely ignoring my hosts file. Here is the code in my hosts file: 127.0.0.1 localhost 172.17.1.107 wiki But, when I open a ...
0
votes
5answers
149 views

How to have a webserver resolve urls in php files?

Instead of having the client resolve URLS, I want to let my webserver do that. So ideally, I could turn this: <a href="http://www.long-domain-name.com/"> into this: <a ...
12
votes
3answers
18k views

Do entries in local 'hosts' files override both forward and reverse name lookups?

If I have the following entries in a hosts file: 192.168.100.1 bugs 192.168.100.2 daffy.example.com 192.168.100.3 elmer.example.com. Will IP->name resolution attempts by local utilies (I ...
2
votes
5answers
3k views

DHCP: Logging host declarations in log file

I am currently running ISC-DHCP server v3 on Ubuntu 8.04. What I am trying to do is log Who got what IP address when. Currently in the DHCP log file you can see the following: DHCPDISCOVER from ...
0
votes
1answer
78 views

How can I configure Debian workstations to be able to use a name provided by HP Laserjet printer

I have a LaserJet printer connected to the network (2300DN), which I would like to access using the name you set up in the Jet Direct options. It works perfectly fine on WinXP machines, I couldn't ...
4
votes
7answers
3k views

Using a Virtual Windows Machine to browse a local website: is it possible?

During our webdevelopment process, we often need to test the layout of our applications and websites in several browsers. Since running all of these browsers stand-alone is nearly imposible and ...
3
votes
3answers
12k views

Internet Explorer not bypassing proxy for local addresses

I've got a machine here that's running a website. It's only really a development machine but it has IIS on it for testing purposes. Problem is that when pages get loaded in internet explorer using the ...
0
votes
5answers
588 views

Best way to keep a hosts file updated

I have a situation where I have a dual homed VOIP server that uses two internet connections. The solution works fine except for one problem, when the primary internet connection goes down, so does ...
2
votes
4answers
382 views

How do I allow my computer to refer to itself as any ip on 192.168.1.*?

I'm using a Mac OS X, and I'm trying to begin using VirtualHost functionality with Apache2. I've created and loaded up a hosts file that looks like this: 127.0.0.1 localhost 192.168.0.71 ...
6
votes
2answers
334 views

How do I setup a HOSTS file on different operating systems?

Please provide examples of how this can be setup on client and server versions of various operating systems.