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

Apache filter request hostname comparison does not work

I'm new to writing apache output filters and even more to writing them in c. I've taken a sample filter (mod_substitute) source and am trying to make it work only if the request is for a specific host. I need to make this a programatic feature and…
gil
  • 65
  • 5
0
votes
1 answer

hostname -f hostname: Name or service not known

I'm pretty burnt on trying to figure this one out. The main problem is that when i use a loop with php mailer to blast email our users, it only gets to some, and I believe this to be a DNS issue. Here is the mail code function…
Sean Clark
  • 1,436
  • 1
  • 17
  • 31
0
votes
1 answer

Set IMAP hostname while sending email using JavamailAPI

I have a IMAP server host name : xyz.com. And my SMTP host name is : comcast.net. Now when I send emails via Outlook it automatically shows my ID [sender ID] as : myusername@xyz.com and not myusername@comcast.net. I would like to achieve the same…
0
votes
1 answer

configuration to redirect from IP address to host name with APACHE

I have configured the host name for a specific machine. Ip Address : 192.XXX.XXX.XXX HostName : https://www.mymachine.com/link1 When the user hits the browser using IP, i want him to be redirected to hostname. What is the apache configuration to…
Poppy
  • 2,902
  • 14
  • 51
  • 75
0
votes
2 answers

SQL Profiler - no hostname on Crystal Report

I am currently using SQL Server 2008 and Crystal Report 8.0. There are times when I need to know what computer runs the crystal report and unfortunately I can't seem to see it in SQL Profiler.
user1051439
0
votes
2 answers

Convert subdomain to domain name (sub TLD vs TLD)

I have written a function that "extract" the domain from hostname. e.g. www.domain.com -> domain.com domain.net -> domain.net www.domain.co.uk -> domain.co.uk www.subdomain.domain.tx.us -> domain.tx.us and so on. However I was unable to find list…
Nick
  • 9,962
  • 4
  • 42
  • 80
0
votes
0 answers

Getting jquery plugin's hosted url

I'm currently writing a jQuery plugin that I'd like to host on my site for others to use and include. How do I get the hostname root of the plugin's location? I…
Max Alexander
  • 5,471
  • 6
  • 38
  • 52
0
votes
1 answer

C++ Sockets Hostname from the server side

Hello i've just picked up sockets for the first time and im using this tutorial to learn the basic steps.... http://www.linuxhowtos.org/C_C++/socket.htm Everything seems to work fine so far, but my problem is im unsure of how to get my hostname to…
Daniel Del Core
  • 3,071
  • 13
  • 38
  • 52
0
votes
2 answers

C# How make Regular Expression with special hostname

I'm having trouble finding a regular expression that works with my domain name. I do not know if I have a special domain name, but none of the examples I've found are working for me. Here is my host name: 81-232197-178.cust.bluewin.ch and here is…
Mehdi Bugnard
  • 3,889
  • 4
  • 45
  • 86
0
votes
2 answers

a way to get the secondlevel domain of a website?

Do you know of a way to get the secondlevel domain of a website via javascript similar to document.location.hostname? I want to create a mailto bookmarklet that generates an email address from the string "info@" and the secondlevel domain. the issue…
ilzel
  • 3
  • 2
-1
votes
0 answers

Why Are Two Different Hostnames Appearing in My Logstash Logs?

I've noticed something peculiar in my log server setup, and I'm hoping to understand why it's happening. When I receive logs from a specific client machine, I see two different hostnames in the logs in logserver machine: syslog_hostname:…
Ts Ts
  • 1
  • 1
-1
votes
2 answers

Ansible playbook to verify directory and retrieve server hostname or IP if not empty

I want to check a directory with ansible if it's not empty. I want to have the server hostname or IP address if the directory is not empty. Can anyone help me? Thanks! I tried to make a test. - hosts: all tasks: - find : paths: /tmp/foo …
-1
votes
1 answer

How to access the hostname of the machine my Reactjs web application is running

I need to access the hostname of the user's computer, I believe it's not possible to do that, but the client insists and as I don't know everything I use the help of you dear colleagues, please help me, the project is done in FrontEnd Reactjs -…
Rafael Inácio
  • 161
  • 1
  • 4
-1
votes
2 answers

How to change name of devices in packet tracer

How do I rename devices in packet tracer instead of them saying laptop0 laptop1 etc.
Kyzer
  • 1
  • 1
  • 2
-1
votes
1 answer

Regex to capture the IP or hostname from a list having a mix of IP and hostname

For my situation, I need to extract the IP address or the hostname from the list. For example, suppose this is the…
Ashish Kurian
  • 51
  • 5
  • 12