The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
2answers
8k views

How to reload /etc/hosts file in AIX without reboot

How to reload /etc/hosts file in AIX without reboot? I am trying to ping a new entry but it still shows previous version. Thanks
1
vote
1answer
193 views

Set up multiple servers behind a NAT

I am currently trying to set up a network with both a secure webserver and an internal openvpn server. The webserver is running windows 2008 and the vpn network is running the Access server from ...
2
votes
2answers
5k views

Howto use Apache virtualHost with etc/hosts

I'm trying to have http://www.mysite.com and http://test.mysite.com running on a production webserver, and now I'm doing some basic tests in local machine before transfering the datas on the ...
0
votes
1answer
377 views

Forward Incoming Traffic with Windows hosts file?

A long time ago I found some guide that showed how to use the Windows Hosts file to forward incoming traffic to another local IP/Port. We setup a clients server on one IP/Port, and they wanted it ...
1
vote
1answer
60 views

Would I have a performance gain if I list entries in my hosts file to domains that are pointing to the server machine?

I must admit, I'm a software engineer and this stuff is not really one of my areas of expertise. I have a Web Application in .NET 4 which connects to various web services hosted on the same machine. ...
0
votes
2answers
163 views

.bat file question

I'm working on Windows XP. I need the batch file to do the following: Create a directory $DOMAINNAME on D:/Webserver/domains/%DOMAINNAME/www/ Open the file - ...
0
votes
1answer
49 views

Service located on network

I've got a WCF web service that handles a portion of business logic and data access. This service is hosted on a server on our network at our office. Our website, hosted elsewhere, uses this service ...
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
232 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
219 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
48 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
692 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
105 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
399 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
3k 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
443 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
2k 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
366 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
3k 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
4k 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
529 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
801 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
455 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 ...
3
votes
1answer
3k 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
2k 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
628 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
6k 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 = ...
2
votes
1answer
399 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
282 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
547 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
603 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
65 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
268 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
619 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
432 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 ...
11
votes
5answers
49k 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
263 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
1k 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
229 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 ...
9
votes
3answers
7k 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 ...