http://123456677889hostgator.com is not a subdomain... that is just a very long domain name.
You can make something.yoursite.com redirect to yoursite.com/something. You can also make it so that sdifjoaspfjiawoef.yoursite.com (assuming that subdomain doesn't exists) points to yoursite.com.
Which exactly are you talking about? Or are you talking about something completely different?