• Sign in to Neowin Faster!

    Create an account on Neowin to contribute and support the site.

  • 0
Sign in to follow this  

Subdomain on .tk domain

Question

gigapixels    99

Alright, what I need to do is have subdomains on my .tk account... I've seen it done before ( on a large scale, I might add ) here, but I can't seem to get it to work for me. I don't know how to get the PHP source of a site to see if it's done that way ( or ASP or something ). But I have PHP on my host so I was wondering how I might put it to use in such a manner.

Pretty much, I want to have my friends able to put in forum.fubarshibby.tk and then it would put them at fbrshibby.50free.net/forum/index.php - my original .tk domain, www.fubarshibby.tk, goes to fbrshibby.50free.net

Does anybody know how I would be able to do such a thing? I Googled it and searched the PHP site, but I can't seem to find a way to grab the entire address in the address bar in the first place. I figured that would be a starting point at least, but I can't even find that....

So... any help would be appreciated. Thanks.

EDIT: I just did some investigating and found out that they use PHP also... So if anybody knows how to download a full PHP file that has not been parsed by the server, then I would be truly grateful for that.

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0
Astra.Xtreme    2,967

If you are going through http://dot.tk then in the preferences you should be able to enter the actual path to your site and it'll work how you want it to work.

Thats what i did for one of my sites a while back: www.downed-mysery.tk

Share this post


Link to post
Share on other sites
  • 0
gigapixels    99

I tried something else and it looks like it will be more difficult than I thought. At first I thought that $HTTP_HOST wouldn't work from what I was reading, well I guess misreading, on the net, but in fact it does show the subdomain as well as the domain. The problem is, it does not reflect what is in the address bar. That's what I need.

Share this post


Link to post
Share on other sites
  • 0
gigapixels    99

Ah crap... I was afraid I'd get an answer like that. I was messing with javascript, but it wasn't giving me anything good, but perhaps they've put up walls to things like that. Oh well, it's not a big deal anyway. It's just my personal page and forum.

Share this post


Link to post
Share on other sites
  • 0
tesa    0

If you're using DNS you can make your own subdomain, without PAYING!

just list your domains and then click MODIFY

Then choose "Use Dot TK Free DNS service"

And then click "Add another hostname"

And fill the field with "A", ".[domain].tk" and "[ip]"

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.