hostname

What do these abbreviations in network hostnames mean?

When I use traceroute, I often see abbreviations in the hostnames along the route, such as "ge", "so", "ic", "gw", "bb" etc. I can guess "bb" means backbone. Does anyone know what any these strings abbreviate, or know any other common abbreviations? ...

Web server changed name, url return wrong host name

In our web application (asp.net), the tabs are dynamic links. The links were built like this: finalUrl = "https://" + Request.Url.Host + "/home.aspx"; The link is ended up like: https://server0/home.aspx The problem is the web server's name was server0, but now it was changed to server1. Still the old server name keeps showing up. ...

Crawling Ajax.request url directly ... permission error

I need to crawl a web board, which uses ajax for dynamic update/hide/show of comments without reloading the corresponding post. I am blocked by this comment area. In Ajax.request, url is specified with a path without host name like this : new Ajax(**'/bbs/comment_db/load.php'**, { update : $('comment_result'), evalScript...

Can we set easy-to-remember hostnames for EC2 instances?

I'm running a couple of standard Fedora instances on EC2. I feel the public hostnames of the instances assigned by Amazon are too weird and hard to remember. I'd like to change them to something short (like red/blue/green/etc). Is there any draw back in doing this? And how do I set it up such that it persists after reboots? Thanks. ...

how to find host name from IP with out login to the host

i need to find the host name of a UNIX host whose IP is known with out login to that UNIX host ...

How to set the hostname on a G1 Phone

I have a root'd G1 phone, and I would like to set its hostname. As root I can run the hostname command and set it, but the name does not survive reboot. First, I tried creating a /etc/hostname file that only contained my hostname, but that did not work. Next, I edited /etc/hosts like this: 127.0.0.1 g1-phone localhost However th...

How do I configure the hostname of a Rails app?

I'm working on a fairly traditional forgot password email - I want to email the user a password change token embedded in a link that they can click on in order to change their password. I'm emailing via the traditional ActionMailer. If I use a normal link_to tag <%= link_to "click here", :controller => foo, :action => 'bar', :token =>...

Extract domain name from a host name

Is there a programatic way to find the domain name from a given hostname? given -> www.yahoo.co.jp return -> yahoo.co.jp The approach that works but is very slow is: split on "." and remove 1 group from the left, join and query an SOA record using dnspython when a valid SOA record is returned, consider that a domain Is there a clean...

Regex match a hostname -- not including the TLD

I need to match a host name--but don't want the tld: example.com =~ /regex/ => example sub.example.com =~ /regex/ => sub.example sub.sub.example.com =~ /regex/ => sub.sub.example Any help with the regex? Thanks. ...

[MFC Application] How to validate hostname (may be IP) and port number (CString)

I have an dialog for HTTP proxy configuration with hostname and port edit boxes. My question is how can I validate user input for correct hostname and port? May be I have to use some regular expression for hostname validation or there is some helpful MFC or WinAPI function? What is the maximum correct number for port? ...

Setting the Hostname in IIS Bindings Breaks Website

I just got a Windows Server 2008 VPS and I'm having trouble getting IIS7 setup. I created a new website in IIS with the path, ip address, and hostname (like 'www.nameofsite.com') and click OK. When I browse to the site it pulls up "http://www.nameofsite.com" in the browser and... nothing... IE cannot display this webpage. If I blank o...

Canonical name redirects in Godaddy?

I have a website "mywebsite.com" and I would like to do a 301 redirect of "http://mywebsite.com" to "http://www.mywebsite.com" (for the usual SEO purposes). I am running IIS7, however there is an ISA server firewall in front of the site, which seems (as per this article, though his solution did not work for me -- http://mrvirtual.de/200...

How do I the change the host name in C#?

I want to change the hostname by code in c#. The operating system is xp. Thanks. ...

non english (hebrew) chars in hostname

Is it official? Where is it defined? How can I transform between the english and non-english version, programmatically? I see domains that google recognizes as hebrew, but the browser does not. Examples: http://www.xn----ogc3ffxd2br0d.com/ http://www.xn------wpehbcibg3bcah2ftaym6h.com/ http://www.xn----6hcesc7ap3c.ws/ ...

wget - http://: Invalid host name.

I'm using wget to automatically download the ShellEd extension for Eclipse, but am receiving an error: http://: Invalid host name. I have used it successfully several times before, so I think it's because SourceForge uses a mirror. I've looked at the man page for wget, focusing on referer and http_proxy, but am still unsuccessful. H...

How do i change my DNS host name using WIX

How do i set my dns hostname for a iis asp.net website i am installing using WIX? everything installs fine but i have to go to path http://localhost/EDSTR2F7 I want to be able to change it so i can get to the site by going http://EDSTR2F7.myhostname.local how do i do that using WIX? is it part of the iis:WebSite, iis:WebAddress, iis:...

jquery load breaks when the hostnames are different

The code segment is from a page called "sites-catchup.html". There is a simple server side page called "max-change-num-ajax.html" which returns a single number (without any html). If the page is requested by calling http://tiddy:8080/rsm/sites-catchup.html then it all works. However if I call http://localhost:8080/rsm/sites-catchup.htm...

Setting hostname in IIS, include www?

I want to set the hostname for a website I'm adding in IIS 7, however do I include the www in the hostname or not? because I want both www.mysite.com and mysite.com both to point to mysite on the server. thanks! ...

Wildcard DNS combined with Single Subdomain DNS

I am trying to have all subdomains point to one location on disk, and a particular subdomain (dev) point to another. I tried this : <VirtualHost cueflash.com> ServerAdmin webmaster@localhost ServerAlias www.cueflash.com *.cueflash.com DocumentRoot /home/cueflash/www/cueflash.com CustomLog /var/log/apache2/cueflash.com.log combined...

php - regex hostname extraction

I have been looking around for a regex expression that will spit out just the 'stackoverflow' part and no www. or .com etc. All I could find was to check if the url's were valid... I have used php's url filter to determine that much I now am looking to determine which site it is. I have never written an expression before so I am hoping ...