The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
33 views

Apache Site Configuration Share Settings

For our WordPress development server, each developer has a subdomain to work on the site which point to the same server and database, but different folder locations. This allows us to see database ...
0
votes
1answer
222 views

Can /etc/hosts.deny/allow be overridden?

I have security measures put in place to keep unwanted users out of my server. I've changed the SSH port, disabled root login, have a software firewall to block portscans, and have entries in ...
0
votes
0answers
190 views

Hosts file being overwritten by dns

I am on a mac Snow Leopard (10.6.8). Recently had to add an external ip address and host to hosts file because dns has not been sorted yet for the website. Works as expected from home. However in the ...
0
votes
1answer
83 views

hosts file to create url alias [closed]

I'm using a Mac where I've located my webroot folder into a Dropbox sub folder. Everything works fine but I have a problem /Dropbox/webroot /Dropbox/webroot/site-one.com /Dropbox/webroot/site-two.com ...
0
votes
2answers
357 views

SOLVED Configuring the hosts file to point to my server

I have a somewhat annoying problem in website development/deployment process; when I work locally on my server, the address of my program is localhost:8080/MYSERV/..., whereas when I deploy it, the ...
0
votes
1answer
2k views

Windows redirect by port? [duplicate]

Possible Duplicate: Forward Incoming Traffic with Windows hosts file? In Windows you can redirect traffic from a host by using the hosts file. C:\Windows\System32\drivers\etc\hosts ...
0
votes
1answer
348 views

Configure Apache Mass Virtual Hosts to different directories

Our server is running Apache on port 9000 (because IIS is at 80) and we have the following configuration (vhosts.conf) to access our sites: NameVirtualHost *:9000 UseCanonicalName Off ...
1
vote
3answers
541 views

User-based HTTP Host to IP redirection on a Windows Terminal Server

I've just setup a Windows 2008 R2 Terminal Server with IE9, it's intended to be used for testing. Unfortunately the web-bods tell me they ALL have a local apache on their machines and they've all ...
0
votes
1answer
298 views

Redirect Addresses to localhost by Pattern on Mac OS X

I'm not even 100% sure how to ask this question. The answer might be out there, but I can't find it. So I've set up virtual hosts for my Mac and I do all my development locally on my computer. I have ...
-3
votes
3answers
273 views

DNS resolves without adding the host IP and name to etc/ hosts file

Is there any way to resolve hostnames without added to hosts file? In order to access internal site in my company I have to add the host-name and IP in the .../etc/hosts file. Is there any way to add ...
3
votes
1answer
526 views

Squid ignoring hosts file (using SquidMan on Mac)

I installed SquidMan 3.1 on my Mac, and it works fine. But I really need it to redirect some of the traffic using my hosts file, and it seems to be ignoring it no matter where I put it. So far I've ...
1
vote
0answers
172 views

Attempting to DNS resolve / relay an IPv6 address for a host

I have a network switch doing IPv6 DNS relay to a Linux box (3.0.4-gentoo #7). The packets (DNS request) are arriving fine at the Linux box. Where I'm stuck now is how to resolve those, either by ...
1
vote
1answer
2k views

Since when the linux host utility ignores /etc/hosts? [closed]

I was struggling trying to find out the reason why the linux host utility was ignoring my /etc/hosts file until I find the answer to my question here: hosts file seems to be ignored: With this ...
1
vote
0answers
73 views

HTTP Logging Proxies

I want to implement a proxy that records and replays requests made to specific hosts. So that I can stub out external service requests when testing an application. What is the best way to do this? ...
0
votes
1answer
262 views

How to get global ip for virtualbox guest os

I'm trying to setup ubuntu server in virtualbox. Host is Windows 7 x64 Guest is Ubuntu 11.10 x64 All I want to do is, to make this server accessible from internet. How can I do it? Please help.
1
vote
2answers
1k views

Cannot login to mysql after setting incorrect mysql privileges/host

On CentOS 5.x I used webmin panel and I was in mysql settings, I was trying to allow "root" to login from my home ip in addition to localhost. In the hosts list I had "any" or "localhost", I tried to ...
0
votes
2answers
121 views

Effects of mis-configured hosts file?

SSH and sudo were starting very slowly because /etc/hostname and /etc/hosts did not match. After adding a line for the hostname in the hosts file, the initial 2-4 second delay no longer occurs. At ...
1
vote
2answers
480 views

Simple DNS Server or Tool for Local Web App Development

When I develop web-apps I sometimes have to hard-code full URLs into my generated markup. Even though one can generally get by using relative URLs a la <a ...
0
votes
1answer
96 views

Mapping all subdomains of a domain to an IP

How should I set up a server to map all subdomains of a domain to an IP? I wish I could do something like that in the hosts file: 127.0.0.1 *.example.com
2
votes
1answer
112 views

Does not having FQDN in /etc/hosts cause any problems?

Just been looking through some servers and seen that the external ip is set up with the full and short names the wrong way round, e.g.: a.b.c.d myserver myserver.mycompany.org What sort of problems ...
0
votes
1answer
77 views

Wildcard certificate with separate certificates for each host

We're using a wildcard certificate on several hosts, which right now means that we have to distribute the wildcard cert's private key to each machine, which is a security problem. On the other hand, ...
0
votes
2answers
123 views

Create custom host file

I want to create a host file on a custom location (ex. /opt/app/hosts) with the same formatting as the /etc/hosts file. The reason for this is that I want to manually query a DNS server for a ...
4
votes
5answers
3k views

Can a long /etc/hosts file slow DNS lookup?

I'm facing a little question here. I have a long /etc/hosts file. (working in the web, so I'm hosting a lot of sites locally for developping). Let's says it is about 40, 50 lines long. All ...
0
votes
1answer
185 views

Changing in hosts file [closed]

I have configured my website from VS2010 to use IIS 7.5. Then I added this line to my hosts file: 127.0.0.1 something.com This correctly goes to IIS 7.5 default screen However I want this to go to ...
2
votes
1answer
153 views

Editing hosts file - will removing default settings cause trouble?

I'm running a CentOS 5.4 machine and had trouble getting sendmail to work. After a bunch of researching, I found out that I needed to change my servers FQDN. /etc/hosts had the following: ...
1
vote
1answer
883 views

MAMP Virtual Hosts not working

So I'm pretty sure I set up my Virtual Hosts right, but they don't seem to be working. Yes, I have uncommented the vhosts include from httpd.conf. All I get when I try to access the virtual hosts ...
1
vote
0answers
183 views

Redirect incoming traffic for a domain to another local ip on same host

I have a server running Win 2008 R2, on that machine a run virtualbox where I run multiple ubuntu instances for webservers. I also have a router that redirects all traffic on port 80 to that machine. ...
0
votes
5answers
1k views

How can I keep my /etc/hosts file up to date with multiple ec2 instances

Have any of you come up with a good way to keep the /etc/hosts file on multiple EC2 instances up to date? Instances go down.. some new instances get created... and internal IPs change. How can I make ...
0
votes
2answers
280 views

Configuring Apache 2.2 on localhost, getting “It works!”

I am trying to get Apache work and here is my configuration: System32/hosts: 127.0.0.1 localhost 127.0.0.1 rss.local httpd-vhosts.conf NameVirtualHost *:80 <Virtualhost *:80> ...
0
votes
3answers
171 views

Apache hosts; how to remove host name?

I have two domains that are redirected to my server IP. I removed (I think) all entires from /etc/apache/sites-available/* that was responsible for resolving those host names. Now when I'm trying to ...
0
votes
1answer
958 views

Adding virtual hosts without restarting Apache?

I've got Apache 2.28, on Web-Developer Server Suite, PHP 5.38, MySQL latest version, and have got about 5 virtualhosts. This is my latest virtual host, which was a dynamic one: UseCanonicalName Off ...
3
votes
2answers
177 views

Is it good to define localhost as 127.0.0.1 in your hosts file?

I just came across a server that does not respond to things like ping localhost or mysql -h localhost - I believe this is because localhost is not defined in the hosts file. On just about every ...
0
votes
2answers
575 views

Hosts file map localhost to existing domain not subdirectory* updated

I am locally developing a website via MAMP and rather than messing with the changing all of my links and etc later on I opened up etc/hosts and added this line 127.0.0.1 localhost mysite.com so ...
0
votes
2answers
42 views

Show development and test site with same domain on browser

I have a situation where domain.com (is the live server - A record points to this server). We have another domain.com (which is the test server - users manually set hosts file). Users would like to ...
1
vote
2answers
207 views

*.domain.local in my /etc/hosts

Can I set access to all subdomains in my local domain in etc/hosts file? Like 127.0.0.1 localhost *.domain.local Now it looks like 127.0.0.1 localhost domain.local mail.domain.local ...
-2
votes
3answers
671 views

Can't edit file after `chattr +i`

After chattr +i /etc/hosts I can't edit this file (obviously). But how can I revert it back. I need to edit this file and then lock again. UPD ls -l /etc/hosts -rw-r--r-- 1 root root 274 ...
0
votes
1answer
116 views

hostname and hostname -f are backwards?

When I run the command hostname (on Ubuntu 10.04 LTS Server) it returns 'mail.mydomain.com' When I run hostname -f I get 'mail' as a response. These seem backwards to me, shouldn't hostname -f ...
1
vote
1answer
111 views

Domain forwarding or masking on local machine only?

I'm sad to have to ask this question, but I'm not even sure of what to call what I'm trying to do, so Google isn't much help. I'm doing some work on a company website from outside the company's ...
0
votes
1answer
224 views

Apache 2 Virtual Hosts no working on OSX 10.6

This is my first MacBook and I'm trying to get virtual hosts up and running so as it's going to be my dev machine. I've got apache/php/mysql running fine, the problem is that what ever address I go ...
3
votes
1answer
2k views

How can /etc/hosts be used to associate multiple domains with a single IP?

I have a single IP (81.174.66.48) and I would like to use /etc/hosts to associate multiple domains with that IP. Currently my hosts file looks like this: 81.174.66.48 nerto.it nerto I would like ...
0
votes
2answers
4k 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
190 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
4k 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
290 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 ...
0
votes
1answer
54 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
150 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
45 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
276 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
216 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
208 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 ...