Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
111 views

Setting up my vhosts file correctly in WAMPServer

I am trying to setup an mobile app that I have received from another dev locally on my machine, this is a cordova based mobile app that is basically html5/javascript etc.. I have added the following ...
1
vote
1answer
216 views

Use proxy like an /etc/hosts file

I want a forward proxy that basically overrides DNS like /etc/hosts would on a client machine. So when People go to Google.com (for example) the proxy sends the request to a specified IP address. I ...
0
votes
1answer
135 views

Simulate a DFS share for a user not on domain with a folder in path

I have a consultant whose computer is not on the domain and needs to access various network resources. Unfortunately while adding a computer to the domain is a difficult bureaucratic process (and ...
-1
votes
2answers
94 views

Hosts File Failover [closed]

My software uses DNS Name to connect to the Server. My Clients sometimes need to work off site and in such a case they use Hamachi to connect to the server. I would like to know if it is possible to ...
1
vote
2answers
645 views

Sendmail Domain of sender address does not resolve. Unable to send any emails.

I've got myself in a muddle with Sendmail. I've newly inherited responsibility for an app that uses sendmail and I have no previous experience. I'm using Ubuntu Ubuntu 10.04.4 LTS. Recently we ...
0
votes
3answers
1k views

Apache 2.4 - 403 HTTP status code

I'm getting a 403 error message with Apache, in Debian Testing. Apache version: # aptitude show apache2 | grep -i version Version: 2.4.9-1 # ls -la /home/ total 28 drwxr-xr-x 4 root root ...
0
votes
1answer
79 views

Different DNS name resolution for same server [closed]

I am working on an internal facing wiki that is hosted on a linux box in the office that also holds our backup-server roll. The name of this server is 'backup-server' and DNS resolves this to the ...
2
votes
1answer
728 views

How to define multiple /etc/hosts entries with Puppet ENC?

I'm writing an External Node Classifier for my Puppet infrastructure, and I have the need to manipulate the /etc/hosts file on each node. The following (due to the duplicate key) is invalid YAML: --- ...
0
votes
1answer
318 views

Solaris Update Hosts file Without Rebooting

I'm running Solaris 10 and I'm having issues with a particular network and need to replace host entries in my hosts file. I've updated the hosts file. Is there a refresh the hosts entries without a ...
0
votes
1answer
851 views

Hostname to Localhost with Port - OSX [duplicate]

I am trying to run multiple Node.js web servers locally on my machine. Because the code I'm writing needs to reference a domain name I'd like to keep a convention of dev.myHost.com and point that to ...
0
votes
1answer
862 views

Do cPHulk Brute Force Protection Settings Effect Hosts?

Question: Do my settings (shown below) prevent visitors from getting to any of the public web sites on my server if their ISP's IP Address has been blocked/black-listed through cPHulk Brute Force ...
-1
votes
2answers
60 views

name resolution by name in /etc/hosts

I have to check website performance through various webproxies from my Fedora 19 box, and I want to do that by setting a local resolvable name "proxy" to the DNS resolved names for our proxies in my ...
-1
votes
1answer
23 views

rerouting name to ip on local network [closed]

i created an intranet (lamp) and now i have to make it visible using this url intranet: the solution i found was to put in each computers (mac, windows) this in the hosts file using the ip ...
3
votes
2answers
96 views

make dnsmasq ignore specific entries in /etc/hosts

I've set up a machine running dnsmasq, essentially serving its /etc/hosts file. However, there are specific entries which I want in that machine's /etc/hosts, but I don't want served. How can I make ...
6
votes
3answers
248 views

Same IP on many systems in different environments

I work in an environment where there are multiple locations, and in each locations we have the same IP addressing scheme, that is, we have many machines (one in each location) that share the same IP ...
-2
votes
1answer
34 views

Linux DNS: expand name with a choosen domain [closed]

I need to expand a random name with a choosen domain. Example: nslookup abc 127.0.0.1 -> should look for abc.domainchoosen.dom. Suggestions?
0
votes
1answer
40 views

How to configure DNS for website on one host other domain services on second host?

I want to achieve the following: mydomain.com/webmail, mydomain.com/forums, mail.mydomain.com, etc point to current host A And I wish to point mydomain.com to a new website host: www.mydomain.com, ...
-1
votes
2answers
69 views

Is it valid that localhost appears in multiple lines in linux hosts file?

hosts file: 127.0.0.1 localhost localhost.localdomain 192.168.30.133 localhost machinename Is it valid that localhost appears in multiple lines?
1
vote
3answers
1k views

Bypass DNS Server lookup by using /etc/hosts when using a dynamic IP address

It is my understanding that the need to query external DNS servers for commonly accessed names can be reduced if those commonly accessed names are present in /etc/hosts. Now, I have a situation ...
0
votes
1answer
408 views

hosts.deny line too long or too big file?

I have about 50k ip addresses denied in the hosts.deny file, generated by a script with 7 addresses per line max and get this error: warning: /etc/hosts.deny, line 4429: missing newline or line too ...
1
vote
1answer
177 views

Why use FQDN as DNS-server option in DHCP?

I've seen multiple default configurations of DHCP-servers with a FQDN set as the DNS-server option. Doesn't this imply a catch-22, or the need for that DNS-server to be in the hosts file of every ...
-1
votes
2answers
112 views

How do I set a domain name with a port in hosts file? [closed]

I have Apache and Rails running on my laptop. Apache is running on port 80 and rails 3000. in my hosts file I have entries like 127.0.0.1 dev.somesite.com This works well for Apache How do I add ...
0
votes
0answers
294 views

nginx: How to debug an issue with port 80? (nginx-related)

I have been having trouble debugging my issues on my own local port 80 listeners when trying to set up an nginx webserver. I am simply just trying to see the vanilla "welcome to nginx" start page and ...
0
votes
1answer
76 views

How can I manually set the IP a domain name resolves to without using the hosts file?

On my Windows server, example.com resolves to 1.1.1.1. A software I use resolves example.com expecting 1.1.1.1, but I need to modify this for the domain to resolve to 2.2.2.2 instead. Usually, I ...
0
votes
1answer
2k views

lmhosts and hosts file to allow user joining to domain controller

I have a domain controller on a diffrent ip range as my computer and would like to know if it is possible to join it to the domain using host file and lmhosts file? I don't want to use VPN I don't ...
2
votes
2answers
899 views

MySQL hosts cache: whitelist IP?

Is there a way to whitelist an IP address, so that max_connect_errors doesn't apply? The IP address for my office was blocked today due to too many connection errors to our new development MySQL ...
0
votes
2answers
289 views

Error message: Host 'server1.MY_DOMAIN.TLD' is not allowed to connect to this MySQL server

I have a web and mail server running Ubuntu 12.04. I installed iRedMail and had it running fine, but this morning mail was not connecting and none of my sites worked. I checked some logs which told me ...
0
votes
1answer
134 views

Test machine (Win7 laptop) redirect server UNC paths back to same test machine

I have a Windows7 laptop for developing at home. The live application makes calls to the SQL Database ("CANCENTRESRV") which I have been succesful in redirecting back to the my laptop using HOSTS ...
0
votes
1answer
122 views

Hosts file doesn't work with .com host names

My /etc/hosts file is configured as following: 127.0.0.1 localhost mysitea.local mysiteb.com www.mysiteb.com www.mysitea.local And I have my Apache virtual hosts setup accordingly: ...
4
votes
2answers
12k views

How is DNS lookup configured for OSX Mountain Lion?

If I cat my resolv.conf, I see this message: # # Mac OS X Notice # # This file is not used by the host name and address resolution # or the DNS query routing mechanisms used by most processes on # ...
0
votes
1answer
898 views

warning: /etc/hosts.allow, line xx: host name/name mismatch

I've whitelisted my own domains in /etc/hosts.allow ALL: localhost, .domain.tld plus all of my IP adresses. I also have about 4k lines in /etc/hosts.deny. Everything works but I do not understand ...
1
vote
2answers
82 views

Accessing a local machine with the hostname

I'd like to know if it's possible on a debian machine to automatically setup the hosts file of every other computer on the network. I'd like to be able to connect to the machine using a host name ...
0
votes
1answer
320 views

Transparent Proxy or VPN that listens on all ports

I'd like traffic to be routed via a proxy or VPN based on a the client's hosts file (or DNS that is given to the client). This doesn't seem like a problem for http traffic on port 80 as a simple ...
1
vote
2answers
111 views

lamp - is this virtual host creation process correct?

I recently reinstalled ubuntu on my system and I cannot get virtual hosts to work properly. What I'm trying to accomplish is typing 'test' on my browser and pointing to my local machine on the ...
-2
votes
1answer
45 views

Connecting to Gest ip address usign host alias [closed]

I have RedHat OS running on VMWare Player. My host operating system is windows7. Network configuration i am using on my virtual machine is NAT. I have configured my Guest operating systems ...
1
vote
1answer
31 views

where is the configuration for https host Django+PHP

I am an app developer, with little web site development experience, now having to check some work on a virtual server, All seems to be working fine, but I cannot find where a configuration for a host ...
1
vote
1answer
272 views

Proper configuration of Virtual Hosts SSL

I have installed an SSL certificate on my Ubuntu EC2 instance and I need one of the websites hosted on this instance to be accessible via https. I have several websites hosted all on the same IP ...
1
vote
2answers
134 views

Is it possible to point to the subdomain of a site by changing the host file?

I am trying to point a URL to a particular IP address.But the IP belongs to the domain and I want it to point to a subdomain belonging to that domain.I am doing this by altering the hosts file in the ...
-4
votes
1answer
117 views

Hijack DNS on my local Ubuntu machine? [closed]

How can I hijack a DNS entry for an domain name on Linux (Ubuntu 12.04)? I am interested in creating a DNS CNAME alias for domain1.com to domain2.test.com. The problem is the applications uses 5 ...
0
votes
1answer
156 views

Hosts.deny blocks whm access?

I have my hosts.allow and hosts.deny set up as follows: Allow: sshd: (my static ip) vsftpd: (my static ip) Deny: ALL : ALL but this blocks all access to WHM and cPanel? What else do I need to ...
16
votes
4answers
19k views

hosts file ignored, how to troubleshoot?

The hosts file on Windows computers is used to bind certain name strings to specific IP addresses to override other name resolution methods. Often, one decides to change the hosts file, and discovers ...
3
votes
1answer
1k views

Virtual Host on G-Wan

I'm trying G-Wan v. 3.28 64 bits(on System: Ubuntu 12.04 64bits) to configure multiple domains on one IP address: listener 1: / gwan / 192.168.2.4_80 / #192.168.2.4 (root host) ...
-1
votes
1answer
74 views

Virtual hosts in CentOS

I have a server with IP 1.2.3.4 and I want the domain www.something.com to load website from /var/www/html/something/ I've tried to configure them as follows: NameVirtualHost 1.2.3.4:80 ...
-4
votes
1answer
764 views

127.0.0.1:8080 works but localhost:8080 doesn't [closed]

This may be super easy so I apologize in advance but my strengths are in coding. Why can't I access my localhost at localhost:8080? 127.0.0.1:8080 - works 127.0.0.1:80 - doesn't work 127.0.0.1 - ...
1
vote
1answer
177 views

Got Permission denied with JAX-WS client on tomcat6 server

I have a strange behaviour with a java client that uses webservice stubs generated by wsimport. The client says sth about Got Permission denied: connect while opening stream from ...
-1
votes
2answers
282 views

Virtual hosts links to index instead of page?

I have set up my virtual hosts with xampp. I uncommented the vhosts line in the httpd.conf file and added the virtual hosts in the vhosts document. The files for the web pages are located in my ...
5
votes
2answers
5k views

Assign multiple IPs to 1 Entry in hosts file

I have a web sever that connects to an internal database through a VPN. There are 2 IPs (primary and secondary) to the database from the web server. How can I setup my /etc/hosts file so that if the ...
2
votes
1answer
78 views

Possible to load entries into hosts.deny from text file?

I have around 96 million IP addresses that I have collected and routinely validate to be VPN providers, proxies, etc. I want these blocked. Currently, I am including the list formatted like deny ip; ...
1
vote
3answers
313 views

wget not working with domain on local machine

Basically - I have some PHP scripts that need to be run as cron jobs. Lets say the script needing to be run is: http://admin.somedomain.com/cron_jobs/get_stats If I run the script from the local ...
0
votes
1answer
2k views

CentOS 5.8 why does my /etc/hosts file mess up after a reboot?

I'm running CentOS 5.8 (it's the Citrix XVA appliance provided on the website) but having an issue where every time I restart the server, the /etc/hosts file loses the IP address of the server...for ...