Questions tagged [host]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
66 votes
5 answers
105k views

associate name with ip for ssh?

Let's say I just have an ip address for a server and I don't have a domain with it (it's just a database server, so it doesn't need a domain). I don't want to have to remember the ip address every ...
Matthew's user avatar
  • 1,927
43 votes
7 answers
35k views

Why can host and nslookup resolve a name but dig cannot?

Can anyone tell me why this is happening? I can resolve a hostname using host and/or nslookup but forward lookups do not work with dig; reverse lookups do: musashixxx@box:~$ host someserver ...
musashiXXX's user avatar
40 votes
4 answers
129k views

FTP/FTPS/SFTP/SCP - Speed comparison [closed]

How do FTP, FTPS, SFTP, and SCP compare in terms of transfer rate and how can I compare them through testing?
Graham's user avatar
  • 409
40 votes
6 answers
88k views

Auto-storing server host key in cache with plink

I've been trying to issue commands using plink to retrieve information from my external server. Note that these plink commands are run from a binary that expects no input from the user. Is there a ...
Tad Oh's user avatar
  • 403
39 votes
4 answers
312k views

How do I find out what my IP Address of my MySQL host is?

I have a free domain running at x10hosting (x10.bz), and I want to find out the IP Address of my MySQL host for it, so I can contact the MySQL database from another host. I've already added that host ...
Deniz Zoeteman's user avatar
25 votes
10 answers
58k views

Running 100 virtual machines on a single VMWare host server

I've been using VMWare for many years, running dozens of production servers with very few issues. But I never tried hosting more than 20 VMs on a single physical host. Here is the idea: A stripped ...
user avatar
25 votes
3 answers
24k views

What's the difference between `dig` and `host` when querying a specific name-server?

I was using this command to verify if I'd set things up correctly with a DNS provider: host hostname.example.com ns1.example-nameserver.com As far as I can tell, this asks ns1.example-nameserver.com ...
jhabbott's user avatar
  • 381
22 votes
3 answers
65k views

How to set multiple subdomains in the host file (DNS)?

I have a lot of subdomains in the main domain xxx.zzz So, for this domain, I can have aaa.xxx.zzz bbb.xxx.zzz ccc.xxx.zzz ddd.xxx.zzz eee.xxx.zzz ....ETC.... Istead of adding each subdomain in ...
Milos Cuculovic's user avatar
17 votes
4 answers
32k views

Apache CustomLog to log full URL

I'd like to add a CustomLog directive to my apache configuration to log the full URL requested (or at least the host portion of the URL). I have several domains being handled by the same instance of ...
jrdioko's user avatar
  • 577
12 votes
2 answers
35k views

How to restart after making chnages to hosts.allow

I have made chnages /etc/hosts/allow like ALL:ALL I have to restart the whole computer to check that , is there any service which i can restart to check the setting
user avatar
12 votes
1 answer
31k views

openvpn client: force a host resolution to a given IP

Is it possible on the client side to setup the client.conf file to resolve a particular host/domain to a given IP. For instance, domain.tld resolve usually from the Internet NS to 1.2.3.4 host ...
Déjà vu's user avatar
  • 5,616
8 votes
4 answers
32k views

Setting new hostname on CentOS, it changes back after restart

On CentOS (5.x) I have a VPS that has hostname set to "olddomain.com", at least this is the domain I am getting when typing "hostname" command. I want to change it to 'localhost.localdomain' because ...
adrianTNT's user avatar
  • 1,149
8 votes
1 answer
12k views

Why do dig, host and nslookup return different results?

It seems my default (router) DNS server returns different results depending on the tool used to query it. Using dig: $ dig @192.168.1.2 test.example.com ; <<>> DiG 9.16.8-Debian <<&...
Jaap Joris Vens's user avatar
8 votes
1 answer
1k views

Linux/Unix - /etc/sudoers - host definition

can anybody tell me in which case the sudo host definition is useful? I mean this part of a line in the sudoers file: bob host1 = NOPASSWD: reboot In which environment (except sudo via LDAP) do I ...
Andreas's user avatar
  • 81
6 votes
4 answers
45k views

mount.cifs: mount error(112): Host is down

I am trying to mount a windows samba share on CentOS and RHEL 6 machines, but gives following error. ~]# mount.cifs //example.com/Linux_Support /mnt -o credentials=/root/cifsauth,noserverino,vers=3.0 ...
Arun Krishnan's user avatar
6 votes
3 answers
21k views

Apache Virtual Host Config www vs non-www, Rewrite or sServerAlias?

We have a central httpd.conf and we include confs for various virtual hosts. Until today, we didn't really have a need for "www.subdomain.site.com" domains, only "subdomain.site.com." Now we do, so I ...
KM.'s user avatar
  • 1,796
6 votes
1 answer
2k views

Started task in z/OS lacks RACF privileges

I wish to test a JDBC server implementation running under z/OS. The usual approach would be to define a JCL procedure and run this as a started task. The started task requires a user ID under which it ...
Achim Schmitz's user avatar
6 votes
2 answers
3k views

Apache2 virtual host redirection issue on Chrome

I am having an extremely bizarre issue that seems only present on Chrome, IE and Firefox are fine. I have 2 website being served by 1 IP address, I have 2 identical files in sites-available named ...
user223225's user avatar
5 votes
4 answers
5k views

What's the point of changing the hostname on my server?

I know that changing my DNS records to point to my IP address is how I get my server accessible, so that a request for myDomain.com points to my IP address. With that said, why does a machine need to ...
loneboat's user avatar
  • 303
5 votes
3 answers
26k views

Configure proper DNS records for separate web host and e-mail server

I'm inheriting a mess and I need your help to straighten it out. The two primary objectives are to alter the DNS records for 'Example.com' so that the "internally hosted" email server (Domain ...
Danny Liberty's user avatar
5 votes
1 answer
26k views

Docker - Timezones in containers not same as on host

In all my running docker containers the containers system time is set to UTC whereas on my host (debian) its CEST. Why dont they sync automaticly? How do i make them set the right time when bringing ...
haemse's user avatar
  • 191
5 votes
3 answers
11k views

Ubuntu 12.04 Netinstall URL? Xen Host

Well I have an Xen server, I've got a CentOS container up fine but a friend of mine wants (oh god) Ubuntu Server 12.04, why he can't use Debian is beyond my understanding. But anyways, I can't ...
notFound's user avatar
5 votes
1 answer
14k views

How do i reference redirected host drives in a remote desktop session

When I remote desktop into a server, for example, local drives and mapped network drives from my host computer appear as ON . I can access these drives using Windows Explorer, but I also need to ...
dbaindc's user avatar
  • 51
5 votes
1 answer
5k views

Rate/Bandwidth limiting with haproxy, what are the options?

I have tried reading up on different methods of limiting (rate/bw) with haproxy, but seems the only working implementation I find is per /32 ip based limit. Is it possible to do rate limiting based on ...
Bjornar's user avatar
  • 51
5 votes
2 answers
2k views

How to reset and persist the hostname and FQDN of an Windows Azure Centos instance?

How does one reset a hostname and domain name (FQDN) to localhost.localdomain on a Centos 6.2 Azure Instance? I've tried editing /etc/sysconfig/network, /etc/sysctl.conf, setting the hostname manually,...
ddario's user avatar
  • 491
4 votes
2 answers
2k views

When 'dig' returns a single A record, the IP address changes between calls. What is this a sign of?

In my internal work network, whenever I launch dig against a particular hostname, I get result similar to this: ;; ANSWER SECTION: some.internal.host.com. 10 IN A 10.210.54.121 If I keep ...
CBlew's user avatar
  • 181
4 votes
2 answers
2k views

linux: shorter 'host' command output

I'm using dns to manage my virtual hosts. In order to do so I query my nameserver with the host command for certain values I need. For example: > host -t txt mycl1.vz mycl1.vz.myserver.de ...
Scheintod's user avatar
  • 401
4 votes
3 answers
10k views

Cisco ASA 5505 :: Techniques for limiting consumed hosts (max 10 with base license)

Was not aware that ASA 5505 base license restricts number of concurrent hosts to 10 (RTFM, I know). Running a "show local-host" I see my host count at 8, a bit too close for comfort with a production ...
virtualeyes's user avatar
4 votes
1 answer
2k views

Subdomain on another host (another IP, another provider)

Let's say my main domain is domain.net and i'm using it on a Media Temple (gs) server. I have my blog on the subdomain blog.domain.net Now I want to host my blog on my new VPS from Linode. So, I ...
Thiago Belem's user avatar
4 votes
1 answer
10k views

Postfix - how to prove the error 450 4.7.1 <domain.com>: Helo command rejected: Host not found;

a customer is trying to send me a email but gives in my postfix log: NOQUEUE: reject: EHLO from mail.domain.pt[xxx.xxx.xxx.xxx]: 450 4.7.1 <otherdomain.pt>: Helo command rejected: Host not ...
kaf's user avatar
  • 43
4 votes
2 answers
665 views

Other domains on shared server showing my webpages

I own a website (gosportweather.co.uk) which is hosted by the same company as other websites on a shared server. The problem is I am noticing that these other websites appear to be showing my webpages ...
Ross Hodgman's user avatar
4 votes
1 answer
781 views

"Couldn't resolve host" for any external content

On our site we run a few different scripts for various sites (uploading to amazon s3, data from chartbeat, script to count twitter followers) and all of them just stop working from time to time. They ...
scatteredbomb's user avatar
4 votes
1 answer
2k views

Hyper-v on 2012R2 startup gen1 vm causes the host to freeze up

I've searched a lot to resolve the following issue, but nothing helped me. My problem is, that starting up a first-gen vm locks up the whole host. Only a hard reset helps. Second-gen vm starts and ...
user avatar
4 votes
2 answers
952 views

Host File entry depending on own IP?

I have two different Networks at two different places: 192.168.10.0 / 255.255.255.0 192.168.20.0 / 255.255.255.0 Now I want to define a host entry on my windows pc, who maps either 192.168.10.1 or ...
Programmer879's user avatar
4 votes
1 answer
2k views

CentOS virtual host Server DNS could not be found

I want to deploy my project in virtual host in CentOS running server. I have this <Directory /> #change value of next line from none to all AllowOverride none Require all denied </...
guradio's user avatar
  • 141
3 votes
3 answers
793 views

Why is DownOrNot and JustPing reporting that my website is down?

I was pinging my site with DownOrNot and it is reporting that my website is down from all locations. Then I pinged it with JustPing and it is reporting that my website is also down from all locations....
Pacerier's user avatar
  • 521
3 votes
5 answers
10k views

Pointing www to a CDN(Akamai)

Why would someone point(CNAME) www.example.com to a cdn? When I run host on Etsy, I get a [c]$ host www.etsy.com www.etsy.com is an alias for www.etsy.com.edgekey.net. www.etsy.com.edgekey.net is an ...
Quintin Par's user avatar
  • 4,443
3 votes
3 answers
3k views

VirtualHost not working - always shows default

I have been trying to get this work for hours now. I am trying to set up virtual hosts with Apache on my VPS. I have the following virtual host file in my sites-available folder : <VirtualHost *:...
Dave O Dwyer's user avatar
3 votes
3 answers
207 views

is it possible to host 2 sites on a single domain but 2 different IPs?

I have Server A which hosts www.mysite.com I want to create and host a site on Server B, but configure it to: www.mysite.com/theSiteAtServerB TheSiteAtServerB is a completely different site from www....
willz's user avatar
  • 145
3 votes
1 answer
3k views

How does a browser request from CNAME?

Let me put it this way: 1.cname.com has a record of X.X.X.X www.domain.com has a record of 1.cname.com When a user request www.domain.com from within his/her browser,his/her browser will send an ...
Steven Jang's user avatar
3 votes
1 answer
209 views

Prevent email interruptions while switching web hosts

I have a website that is currently hosted at a company that also hosts my email address. I am switching hosts soon, and cannot have any interruptions in emails. What is the best way to go about this ...
David's user avatar
  • 131
3 votes
2 answers
2k views

AWK + Host lookup

Currently using the following line to get top 20 ips sorted by requests: grep 'GET /' /var/log/nginx/access.log | awk '{ print $1 }' | sort -n | uniq -c | sort -rn | head -20 Output: 575 66.249.*.* ...
Bastien's user avatar
  • 123
3 votes
2 answers
904 views

Why is hostname lookup in ssh returning a different result?

I have one machine with two ips, Something like this, (/etc/hosts) 10.204.65.18 blahdb01.us.oracle.com blahdb01 10.204.63.56 blah01.us.oracle.com blah01 Now, whenever I do, ssh blah01 It ...
Arindam Paul's user avatar
3 votes
2 answers
10k views

KVM CentOS 7 host doesn't pass guests traffic but ping each other

I am looking for the answer for few days and any configuration is right for me to set the networking working. I have CentOS 7 (10.120.0.57) with installed KVM on it. I created simple guest (10.120.0....
Tiroue's user avatar
  • 131
3 votes
0 answers
1k views

nmap reports IP address is active, when the network device is turned off?

I want to remotely examine if some servers are up. I don't use the ping command because it gives a lot of wrong results like "destination host unreachable" and "request Timed out" due to bad ...
saber's user avatar
  • 31
3 votes
1 answer
5k views

Browser says "Waiting for www.xyz.com" for a very long time [closed]

When I load my website (hosted with Ipage). The browser often takes an incredible long time saying "Waiting for www.xyz.com ..." before any elements of the site actually appear. After this "Waiting ...
Phil's user avatar
  • 31
2 votes
3 answers
12k views

IIS accessing site without port

I have deployed our company intranet website to IIS 7 server added the following binding info. IP Address: All Unassigned port: 3333 domain name: subdomain_name.domain_name.com Although the site ...
user922291's user avatar
2 votes
2 answers
2k views

Is a subdomain essentially a host?

I'm trying to understand the difference between a subdomain and a domain in a LAN versus a WAN (Internet). (Or am I just fooling myself. Is it the same?) If I google it I just get that a subdomain is ...
bestprogrammerintheworld's user avatar
2 votes
4 answers
5k views

Access device by its name in a LAN

I have several devices (including desktop, laptop, smartphone, etc.) connected to my wifi router. They have difference IP addresses each time according to the order they connects, so configuring /etc/...
onemach's user avatar
  • 23
2 votes
1 answer
14k views

Centos /etc/hosts doesnt resolve my hostname

[root@data001 etc]# hostname data001.dd [root@data001 etc]# ping data001.dd ping: unknown host data001.dd [root@data001 etc]# How do I fix this? This is on a fresh Centos6 build...does this not come ...
DD.'s user avatar
  • 3,114

1
2 3 4 5