Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


14 posts

Geek


Topic # 25071 11-Aug-2008 13:48
Send private message

Hi guys, this is for the real geeks out there.

Few years ago, my friend sent me a link to a website, via MSN, and the address got my name in it. I can't remember exactly what is was but it might be something like "something.johnsmith.com". When I click on the link, the page basically contains an animated inspiration message with the name in the url address e.g. john smith. I tried some other name or any random name, it works as well. So I guess my question is has anybody came across any sites like this? If not, I wonder how it's done?? Almost like creating a domain name on the fly, I know how to create web pages but I suspect it's something done on the host server to allow this to happen and that's beyond my knowledge, any commends welcome, thanks guys! Laughing

Create new topic
6328 posts

Uber Geek
+1 received by user: 391

Moderator
Trusted
Lifetime subscriber

  Reply # 156067 11-Aug-2008 21:47
Send private message

Wouldn't be too hard to achieve, if you own yourdomain.com, you automatically have rights to whatever.yourdomain.com.  You could easily setup Apache (using .htaccess files) that if it didn't find a particular subdomain to redirect to another page.  Using PHP you could then extract that name and display it on the webpage or in a Flash animation.

Create new topic

Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.