Questions tagged [hostname]

A hostname is a human-readable nickname that is assigned to a device connected to a computer network and that is used to identify the device.

A hostname is a label that is assigned to a device connected to a computer network and that is used to identify the device in various forms of electronic communication such as the World Wide Web, e-mail or Usenet. Hostnames may be simple names consisting of a single word or phrase, or they may have appended a domain name, which is a name in a Domain Name System (DNS), separated from the host specific label by a period (dot). In the latter form, the hostname is also called a domain name. If the domain name is completely specified including a top-level domain of the Internet, then the hostname is said to be a fully qualified domain name (FQDN).

1162 questions
0
votes
1 answer

ios Safari is chopping off "www" from $_SERVER['HTTP_HOST'], how is this possible

Having a separate mobile site on a subdomain which has the name m.domain instead of domain: When I try to login on ios devices with openid I get an error page from google but not if I use the site from my desktop. chrome mobile is ok, it is just…
Richard
  • 4,516
  • 11
  • 60
  • 87
0
votes
3 answers

Displaying host-name and IP address

I'm trying to create a tool for users on our network to report their PC hostnames and IP addresses to the IT department. For assistance, we have a warehouse department that loves to shuffle around PCs and users, so I can't reliably tell who's on…
0
votes
0 answers

Hostname case difference for Linux and Win32 cmd prompt and C

I am using the hostname while creating an App and then using the hostname in its Friendly Name. I am providing this hostname as an agrument while creating the App. Then this App is further used by other Apps/Processes. This whole code is being used…
Sunny
  • 7,444
  • 22
  • 63
  • 104
0
votes
0 answers

Ip to Hostname Lookup and then confirm it

So what I am trying to do is check an ip address, for example: 66.249.74.233. That ip address converts when looking up a hostname to: crawl-66-249-74-233.googlebot.com. What I would like to do from there is then check:…
MrTechie
  • 1,797
  • 4
  • 20
  • 36
0
votes
1 answer

TcpClient hostname hang

I'm having a problem with using a TcpClient to send data over a stream written to by a StreamWriter. private void sendMessage(string[] hostlist, string message) { foreach (string host in hostlist) { try …
lmcintyre
  • 98
  • 7
0
votes
1 answer

RESTful service hostname resolution with paramaterized URL

We are building a web application where we are following SAAS model using RESTful services for internal communication between modules. There is a scenario where we want to resolve the host name of the server for RESTful service through one of the…
Atharva
  • 6,711
  • 5
  • 31
  • 39
0
votes
1 answer

Ban IP by hostname?

Any way to deny access to our site via the hostname an IP resolves to? For example: 109.163.233.200 resolves to wau.torservers.net , and we don't want anyone access our site with a hostname that resolves to this. Any help is appreciated. Thank…
user1446650
  • 1,197
  • 6
  • 15
  • 24
0
votes
1 answer

add hostname to ssh alias

I've set up an alias in my bashrc so I can access the cluster at work from home. However, to run programmes on it, I'd like to login to my work computer. How do I add that hostname so I can use one alias? I've tried just extending the alias by alias…
cianius
  • 2,272
  • 6
  • 28
  • 41
0
votes
1 answer

HostName validations and Difference with DNS Host name

I have a question regarding the validations to be done on a text box where user can enter either Ip/HostName. The main question is regarding the period symbol (.). Is that allowed in a host name? Also if period is allowed in a HostName then why…
ayush
  • 14,350
  • 11
  • 53
  • 100
0
votes
1 answer

Using an old version of N2CMS, how can I use .no instead of /no to change language?

The project I am working with is using an old version (v.2.1.0.1) of N2CMS. To start with, I want to avoid upgrading to the latest N2 version, not because I don't like new things (because I do) but because since I am using such an old version it…
Jennica
  • 175
  • 1
  • 1
  • 6
0
votes
1 answer

Should I prefer $(hostname) over ${HOSTNAME}

So there's the command hostname and the environment variable HOSTNAME and I'm thinking that the latter is a small savings of a fork & exec in general scripting. On the systems I'm concerned with (Ubuntu) they seem equivalent. It might be different…
dlamblin
  • 43,965
  • 20
  • 101
  • 140
0
votes
2 answers

IP Address Lookup using Hostname when Bonjour is off in iOS

I just like to ask if it is possible to identify the IP Address of a device (e.g. a printer) using its Hostname even if its Bonjour setting is turned off? Also can you give me an example on how to do it? I am developing an app in iOS that should…
MiuMiu
  • 1,905
  • 2
  • 19
  • 28
0
votes
1 answer

Script to change hostname on CentOS

I using curl to pull a hostname from a server using a HTTP get request, and that is working fine. I need my script to modify the /etc/sysconfig/network file so I don't have to restart the system to apply the hostname. Here is my code thus…
Envin
  • 1,463
  • 8
  • 32
  • 69
0
votes
1 answer

Hostname Changed after eduroam install and setup

I just set up eduroam on my laptop and this morning when I fired up my terminal, I noticed that my hostname has been changed most probably by the eduroam set up to a new value. Any ideas why or how this happens?
cobie
  • 7,023
  • 11
  • 38
  • 60
0
votes
1 answer

AWS for Android SDK host name error

I'm trying to upload to AWS S3 by using thier AWS for Android SDK but both sample project within SDK and my project give the following error on devices while emulator runs without problem. So there's no problem with my AWS account. "Host name may…
NotCamelCase
  • 1,073
  • 1
  • 10
  • 18