* The Business of Software

A former community discussing the business of software, from the smallest shareware operation to Microsoft. A part of Joel on Software.

We're closed, folks!


» Business of Software FAQ
» The Business of Software Conference (held every fall, usually in Boston)
» Forum guidelines (Please read before posting!)


Andy Brice
Successful Software

Doug Nebeker ("Doug")

Jonathan Matthews
Creator of DeepTrawl, CloudTrawl, and LeapDoc

Nicholas Hebb
BreezeTree Software

Bob Walsh
host, Startup Success Podcast author of The Web Startup Success Guide and Micro-ISV: From Vision To Reality

Patrick McKenzie
Bingo Card Creator

Finding out if my sub-domain is re-directing...

I have a sub-domain that is supposed to re-direct users to an activation server for my software.  It stopped functioning when Blue Host changed their interface.  I have contacted them about setting the re-direct back up and they are supposed to have setup again about 36 hours ago.  However, things are still not working.  How can I "ping" the subdomain to find out what IP address it is resolving to?  As of now, I get the standard "Page cannot be displayed" message where I should get the ASP dump from the page....Any ideas or suggestions would be welcome...Thanks.

Greyeye Send private email
Friday, December 07, 2007
On a command-line:
ping subdomain.mydomain.com
Jivlain Send private email
Friday, December 07, 2007
Firefox has an extension called Live HTTP Headers that you might find useful.  You visit a URL with Live HTTP Headers open, and it shows you all the headers that get sent back and forth, including redirects.
MB Send private email
Friday, December 07, 2007
You can do it via telnet as well.

Try this:

telnet.exe <host> 80  (assuming port 80)

When it connects, you need to paste this text into telnet:
GET /index.html HTTP/1.1    (change page as needed)
host: <host from above>
hostname: <host from above> 

(Can never remember if you need host: or hostname: -- adding both won't hurt)

Two blank lines above are important. 

You'll get back the raw HTTP response and see if there is a redirect there or not.
Friday, December 07, 2007
Better yet, go to http://web-sniffer.net/
Type in your domain (with subdomain you want to test).

If you expect a redirect, it should be a 3xx status code based on the type of redirect (look up HTTP status codes).

The web site shows the entire response.
Saturday, December 08, 2007

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics
Powered by FogBugz