The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
2answers
278 views

How can I set up my Linux (CentOS) box to respond to *.centos?

I have a dev box that runs Apache for lots of different sites. We currently access these through http://centos/project-name. I'd like to switch to http://project-name.centos. I've set up virtual ...
0
votes
1answer
229 views

Using BIND for virtual hosts?

I've created the following virtual hosts: <VirtualHost *:80> ServerName testingsitehere.com ServerAlias www.testingsitehere.com DocumentRoot ...
0
votes
3answers
216 views

dns does not work from different drive letters

C:\>ping localhost Pinging Vextor [127.0.0.1] with 32 bytes of data: Reply from 127.0.0.1: bytes=32 time<1ms TTL=128 Reply from 127.0.0.1: bytes=32 time<1ms TTL=128 Ping statistics for ...
0
votes
1answer
46 views

Map a URL to local Blog

I would like to type /blog in my url and have it go to my locally hosted WordPress page at http://localhost/wordpress I modified my host file to redirect blog to the localhost. Now apache display the ...
1
vote
2answers
671 views

Is it possible to point 2 virtual hosts with different domains and unique IP addresses to the same folder?

is it possible to point 2 virtual hosts with different domains and unique ip addresses to the same folder? If so should I be aware of anything? Also is it possible for each of those domains to have ...
0
votes
1answer
1k views

/etc/hosts - How can I point to a certain directory in my local intranet?

I need to point admin.company.com to 192.168.2.100/admin How can I do that?
0
votes
3answers
102 views

map old windows server to new windows server

At the moment, I have 2 servers (serve1 and serve2). serve1 is old and data is small enough to move to serve2. serve1 = Win 2k3 serve2 = Win 2008 R2 The problem is I need to keep the serve1 name ...
3
votes
1answer
383 views

Different hosts files per network on windows 7?

I'd like to be able to have seperate hosts files for different networks on windows 7. Basically, I have an internal IP address for my web server at home which I was thinking of putting in the hosts ...
2
votes
1answer
2k views

Getting “unknown host” on hostname despite adding it to /etc/hosts

I have an Ubuntu server called crow: $ hostname crow But when I try to ping it (from itself), I get unknown host: $ ping crow ping: unknown host crow This is despite explicitly adding crow to ...
1
vote
1answer
171 views

localhost won't load after adding directives to httpd on WAMP Apache 2.2xx

I am not very experienced with configuring httpd, and I am following a tutorial to view my site w/ domain name under localhost. My localhost just blanks out and my apache services won't restart. I ...
0
votes
2answers
379 views

connect to a machine inside the intranet from outside with same address used inside

I have a server inside my intranet, in wich i have apache running with some web applications. when i'm at office the url i use to connect is zeus.mydomain.it, it works couse i have in my /etc/hosts a ...
0
votes
1answer
60 views

setting domains

EVERYTHING HAS BEEN SOLVED - no need to answer :) I'm setting a local webserver to do a lot of web development work from now on. I'm not really knowledgeable in hosting configuration. Thing is I ...
3
votes
3answers
1k views

Is it true that hosts doesn't work in VPN?

C:\WINDOWS\system32\drivers\etc\hosts Seems it's no longer working after I switch on the VPN. Is it the case ,or just my own mistake?
0
votes
2answers
342 views

Strange Items in Hosts File and Netstat

I ran a netstat -a on a computer and there were a number of strange items: Proto Local Address Foreign Address State TCP netgym:epmap virusin:0 LISTENING ...
0
votes
2answers
3k views

Linux: hosts.allow, hosts.deny - how do I allow all except hosts mentioned in hosts.deny

How do I configure hosts.allow and hosts.deny to allow all connections from all hosts except for some hosts/ports specified in hosts.deny? This is what I have now in these files: hosts.allow: ...
1
vote
1answer
2k views

Hosts file name lookups not working

My x64 windows 2003 box is not resolving names in the hosts file in system32\drivers\etc. I have been testing with nslookup with no luck. There was not a syswow64\drivers\etc\hosts so I created one ...
2
votes
2answers
3k views

Squid proxy server ignoring hosts file :(

Using: Squid Cache version 2.7.STABLE3 for i686-pc-winnt ... Whatever I put into the hosts file, it seems to be ignoring it. here's my configuration :- ... hosts_file ...
1
vote
1answer
518 views

VMWare fusion NAT + host tunnel; access from vm

I'm having trouble accessing a port on my OSX host from a vm. I'm using NAT in VMware fusion. In my (OSX host) hosts file, I have the ip address for vmnet8 mapped to 'mac'. From my vm, I can 'ssh ...
0
votes
3answers
693 views

SMTP relay to multiple hosts

We are in the process of switching our email from a locally hosted server to Google apps. We have a lot of users and I'd like to be able to switch them over one at a time so I don't get inundated with ...
1
vote
3answers
2k views

Running Tomcat on an Apache Alias Or Map Port numbers to Hostnames

I have WAMP installed with Apache at port 80 and Tomcat installed at port 8080. So, I access my php projects from localhost/ and java projects at localhost:8080/ Can I install or map Tomcat to a ...
0
votes
1answer
448 views

What should my FQDN be?

When I setup my server, the guide said to use ns1.domain.com, (both my nameservers are ns1.domain.com and ns2.domain.com). However, recently, I changed it to www.domain.com, and everything works.. ...
2
votes
1answer
5k views

Why can't I access an administrative share on my local machine?

I'm working on a Windows Server 2008 R2 (x64) VirtualBox image that I've set up as a CI/deployment testing environment. I've got VirtualBox set to use Internal-Only networking. I've set up hosts ...
0
votes
1answer
1k views

How do I block host name instead of just IP?

I was wanting to block a list of specific hosts, specifically so my server has no access to them at all. I tried using host2ip and entering the result into IP tables , but the IPs don't seem to lead ...
2
votes
1answer
2k views

How to configure ldap to resolve host names?

I'm new to LDAP and I already configured accounts with LDAP so I can login on few computers with LDAP. Now I would like to add some host names to LDAP. In /etc/nsswitch.conf I changed: hosts: ...
0
votes
1answer
1k views

access xampp virtual hosts from virtualbox

My host is Ubuntu and guest is Windows XP. I'm also running Xampp on Ubuntu with a bunch of virtual hosts. For example I have a host named "ehpc.loc" binded to 127.0.0.7 ip-address. So I need to ...
3
votes
3answers
3k views

How can I have a user specific hosts file

Is it possible to configure user specific hosts file instead of a common /etc/hosts. For example if user "user1" tries to get the name for the IP: "127.0.0.1", he gets "dev.user1" and if user "user2" ...
0
votes
1answer
518 views

How to enable dynamic client in hosts.allowed for SSH?

I'm using a hosts.allowed for SSH. Now, some people have dynamic IPs but they also have dyndns.com hosts. How could I use a dyndns.com like host to /etc/hosts ? (The server is a Debian 5.0 Lenny ...
1
vote
4answers
5k views

hostname -f says “hostname: the specified hostname is invalid”. Guess why?

hostname -f says "hostname: the specified hostname is invalid". The hostname (FQDN) specified in /etc/hostname is also listed in /etc/hosts and is pingable. No actual DNS server yet of the host knows. ...
1
vote
1answer
1k views

IP-Based Virtual Hosts Lighttpd

I have multiple IP's and I would like to route each one to its own directory. This is what I have so far.. $SERVER["socket"] == "XXX.XXX.XXX.XXX:81" { server.document-root = ...
1
vote
1answer
360 views

Make an ip based virtual host only respond to a single host name

Is it possible to make an apache ip based virutal host only respond to a specific host name? I have a rouge domain name pointing to my server. I know I could redirect it or throw up a 401, but would ...
3
votes
4answers
264 views

Windows Hosts File Location

I've got a general query regarding the location of the hosts file on Windows. It resides at this location: f:\windows\system32\drivers\etc\hosts My question is why? Could Microsoft have picked a ...
0
votes
2answers
543 views

Xen private networking between multiple hosts

I have two physical hosts running Xen 3.2, sharing storage via iSCSI. On these two hosts are a number of domUs and I'd like to network them in multiple private networks so they can only contact other ...
0
votes
2answers
555 views

Changing 127.0.0.1:81 to Internal Domain Name?

I was wondering the steps I can take to change the localhost name to a test development domain name like "website.dev" on Win7 x64 ? Currently, when my test website builds its assigned to 127.0.0.1:81 ...
0
votes
4answers
64 views

Server refusing access from every host except itself

I have media content on a hosted server that I want to be accessed by another domain. In the configuration file, even if I "Allow from all," all hosts except itself will fetch the hosting company's ...
1
vote
1answer
263 views

Flexible/variable/wildcard vhosts/hosts

I am using wamp, have all my projects in E:\webs\*projectname*\htdocs I want to access all of them in my browser with http://*projectname*.loc is there a way i can set up hosts and vhosts files ...
0
votes
2answers
565 views

Is a matching entry in /etc/hosts required for hostname?

I was installing a Tomcat webapp that refused to work until I stumbled on someone else's issue with an unrelated product. The solution was to add the machine's name to /etc/hosts, to match the name ...
0
votes
2answers
424 views

RHEL 5.1 loses changes to /etc/hosts above lines for `localhost`

Is there a known fix (other than upgrading from 5.1) to fix /etc/hosts from being replaced on reboot? I discovered this behavior when running HP's Server Automation tools. HPSA sets-up a variety of ...
8
votes
5answers
42k views

How to have Windows Server DNS use hosts file to resolve specific host names

[NOTE: The solution of this question is perfect, by something stray away from what the title indicates.] I'm facing a small problem with Windows Server 2003 DNS service. In my corporation, I'm ...
1
vote
2answers
1k views

How to get the same result as modifying /etc/hosts file, without root access?

The question is simple: no root access, but need to point particular domain name to the specified IP address. What are the other ways to do the same thing as with adding the record to /etc/hosts ...
0
votes
1answer
258 views

An alias (defined as a hosts entry) for a fileserver works only when it is a win2008-box, why?

On a Terminalserver (win2008), we like to have an alias for the real fileservername and therefor we put a line in hosts like: 192.168.0.10 BigFiler This only works fine for Fileserver under ...
0
votes
3answers
796 views

/etc/hosts file setting for no dns lookup [closed]

Can you explain me what I need to add in my hosts file for no dns look up
1
vote
2answers
218 views

Shorten Long DNS names

Amazon gives us a very long dns names i.e. c-123-123-123-255.compute-1.amazonaws.com Is there a way to map this name into a shorter name i.e. essentially what i want to do is to modify /etc/hosts ...
8
votes
2answers
5k views

hosts file seems to be ignored

I have almost fresh Ubuntu desktop box. OS was installed two weeks ago and updated from karmic repositories. Last week I had no problems with DNS. But this week something had changed. I'm not sure ...
1
vote
3answers
1k views

Set initial path for a SSH config host

What would I have to add to a SSH hosts entry in my config file so that everytime I ssh into that host, I get sent to specific initial path? Host foobar HostName foobar.com User ...
8
votes
2answers
9k views

/etc/hosts , /etc/sysconfig/network and hostname?

I need to do the hostname changes on a centos server which will serve www.myserver.com What do I need to do in /etc/hosts, /etc/sysconfig/network and with the hostname command? In ...
4
votes
2answers
2k views

sendmail on ubuntu (9.10) machine “stopped” sending mail

I'm developing on my ubuntu 9.10 machine for the web (php). I'm using it sendmail for sending mails, and while developing on my local machine, I send local mails (to my user 'doron'). Up until a ...
10
votes
1answer
31k views

CNAME record/alias in windows hosts file?

Is it possible to enter some sort of CNAME record or alias in the windows hosts file (C:\Windows\System32\drivers\etc\hosts)? Basically I want to forward all requests made to host A to host B, ...
0
votes
2answers
940 views

HOSTS / LMHOSTS files on XP System in a AD Domain

I have found that with in my Active Directory (Windows 2003 Interm), there are 4 DC and each is a GLOBAL CATALOG SERVER. So in theory any should be able to authenticate users. that our XP Clients ...
2
votes
3answers
270 views

Alternate to /etc/hosts

We have a server on which we host private services. These services can also be access from rest of the world but there is slight difference on application level based on from which IP request came. ...
2
votes
2answers
900 views

Hosts file vs DNS for data center management

What are the cons and pros of using hosts files (updated via Puppet for example) vs DNS for data center machines management? I'm looking to switch from the tedious IP scheme, but concerned about ...