This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-02-02 11:27:41

slinger
Scratcher
Registered: 2011-06-21
Posts: 1000+

Finding the ip of my site

I have tried and failed to find the ip address of my site. It is hosted on dropbox BTW. Does anyone know how this can be done?


http://s0.bcbits.com/img/buttons/bandcamp_130x27_blue.png

Offline

 

#2 2012-02-02 11:33:30

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: Finding the ip of my site

What's your site?

Offline

 

#3 2012-02-02 11:38:12

slinger
Scratcher
Registered: 2011-06-21
Posts: 1000+

Re: Finding the ip of my site

scimonster wrote:

What's your site?

I'll comment on one of your projects. It has forums yet it's not scratch approved D: Only to people on them though lol.


http://s0.bcbits.com/img/buttons/bandcamp_130x27_blue.png

Offline

 

#4 2012-02-02 11:39:12

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: Finding the ip of my site

107.22.174.34 is the IP of dl.dropbox.com, so your site would be at
107.22.174.34/u/whateveryournumberis/foldername/filename.extension

Last edited by veggieman001 (2012-02-02 11:39:22)


Posts: 20000 - Show all posts

Offline

 

#5 2012-02-02 11:46:36

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Finding the ip of my site

What veggieman said is perfectly correct. Sites on dropbox or other hosts that don't give you a personal subdomain (and provide you with directories instead) all share the same IP.

However, in general, to find a site's IP I'd personally use command prompt or terminal. just type "ping sitename.com" and somewhere in the jumble of text will be the IP.

Offline

 

#6 2012-02-02 11:46:39

slinger
Scratcher
Registered: 2011-06-21
Posts: 1000+

Re: Finding the ip of my site

veggieman001 wrote:

107.22.174.34 is the IP of dl.dropbox.com, so your site would be at
107.22.174.34/u/whateveryournumberis/foldername/filename.extension

I believe you are right. But apparently it's invalid content  hmm
Screenshot

Last edited by slinger (2012-02-02 11:48:16)


http://s0.bcbits.com/img/buttons/bandcamp_130x27_blue.png

Offline

 

#7 2012-02-02 11:48:34

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Finding the ip of my site

by the way, dropbox.com's IP is the one veggieman told you. But the files are hosted on dl.dropbox.com, and this (107.20.141.233) is its IP.

Offline

 

#8 2012-02-02 11:54:30

slinger
Scratcher
Registered: 2011-06-21
Posts: 1000+

Re: Finding the ip of my site

Thanks guys but it isn't working D: I think this

LS97 wrote:

Sites on dropbox or other hosts that don't give you a personal subdomain (and provide you with directories instead) all share the same IP.
\

is my problem. I should probably tell you what i'm doing. I'm attempting to get a domain name on .tk I'm using it as a free DNS service.


http://s0.bcbits.com/img/buttons/bandcamp_130x27_blue.png

Offline

 

#9 2012-02-02 11:57:25

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Finding the ip of my site

slinger wrote:

Thanks guys but it isn't working D: I think this

LS97 wrote:

Sites on dropbox or other hosts that don't give you a personal subdomain (and provide you with directories instead) all share the same IP.
\

is my problem. I should probably tell you what i'm doing. I'm attempting to get a domain name on .tk I'm using it as a free DNS service.

then you ping yourdomain.tk on command prompt / terminal instead!

Last edited by LS97 (2012-02-02 11:57:45)

Offline

 

#10 2012-02-02 12:07:44

slinger
Scratcher
Registered: 2011-06-21
Posts: 1000+

Re: Finding the ip of my site

Hey thanks! I'll tell you how it turns out :3


http://s0.bcbits.com/img/buttons/bandcamp_130x27_blue.png

Offline

 

#11 2012-02-02 12:41:10

slinger
Scratcher
Registered: 2011-06-21
Posts: 1000+

Re: Finding the ip of my site

Snap, it didn't work ;-;
Any other ideas?
or alternatives to .tk

Last edited by slinger (2012-02-02 12:41:43)


http://s0.bcbits.com/img/buttons/bandcamp_130x27_blue.png

Offline

 

#12 2012-02-02 13:14:01

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Finding the ip of my site

What are you trying to do? Have your .tk domain be the domain of your site? Cause you can't do that with Dropbox. You can only cloak the page.

Offline

 

#13 2012-02-02 13:23:56

slinger
Scratcher
Registered: 2011-06-21
Posts: 1000+

Re: Finding the ip of my site

Magnie wrote:

What are you trying to do? Have your .tk domain be the domain of your site? Cause you can't do that with Dropbox. You can only cloak the page.

Ahh ok. Thanks! I'm a noob at networking so I don't know that much. ;P


http://s0.bcbits.com/img/buttons/bandcamp_130x27_blue.png

Offline

 

#14 2012-02-02 14:07:58

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Finding the ip of my site

Magnie wrote:

What are you trying to do? Have your .tk domain be the domain of your site? Cause you can't do that with Dropbox. You can only cloak the page.

Of course, but wouldn't the TK domain still have an IP of its own, to be reached by DNS's?

Offline

 

#15 2012-02-02 14:57:27

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Finding the ip of my site

LS97 wrote:

Magnie wrote:

What are you trying to do? Have your .tk domain be the domain of your site? Cause you can't do that with Dropbox. You can only cloak the page.

Of course, but wouldn't the TK domain still have an IP of its own, to be reached by DNS's?

Yes, it does. dot.tk creates a webpage which "cloaks" the actual site (using an iframe), so when you ping your TK domain, you get dot.tk's IP. If you ping dropbox itself, you get it's IP.

I think what slinger wants to do is instead of having a cloaked page (page --> site.com/index.php, page2 --> site.com/index.php) he wants the site to actually be "on the domain" (page --> site.com/page, page2 --> site.com/page2).

As far as I know, you can't do something like that with Dropbox, you would have to tell Dropbox the domain and you would have to tell the domain provider the NS servers of Dropbox. Though, I don't think Dropbox has the feature of "parking domains" or having "add-on domains".

If you set the domain as an add-on or parked domain on Dropbox somehow, when you ping the TK domain, you get the IP of Dropbox and not the dot.tk's IP.

Modshare.tk is an example of using a parked/add-on domain.
slinger's site is an example of using a cloaked domain.

Last edited by Magnie (2012-02-02 14:58:48)

Offline

 

#16 2012-02-02 15:32:12

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Finding the ip of my site

Magnie wrote:

LS97 wrote:

Magnie wrote:

What are you trying to do? Have your .tk domain be the domain of your site? Cause you can't do that with Dropbox. You can only cloak the page.

Of course, but wouldn't the TK domain still have an IP of its own, to be reached by DNS's?

Yes, it does. dot.tk creates a webpage which "cloaks" the actual site (using an iframe), so when you ping your TK domain, you get dot.tk's IP. If you ping dropbox itself, you get it's IP.

I think what slinger wants to do is instead of having a cloaked page (page --> site.com/index.php, page2 --> site.com/index.php) he wants the site to actually be "on the domain" (page --> site.com/page, page2 --> site.com/page2).

As far as I know, you can't do something like that with Dropbox, you would have to tell Dropbox the domain and you would have to tell the domain provider the NS servers of Dropbox. Though, I don't think Dropbox has the feature of "parking domains" or having "add-on domains".

If you set the domain as an add-on or parked domain on Dropbox somehow, when you ping the TK domain, you get the IP of Dropbox and not the dot.tk's IP.

Modshare.tk is an example of using a parked/add-on domain.
slinger's site is an example of using a cloaked domain.

I don't think I understand what slinger is trying to do, then. I did understand the above though, I've parked Mod Share myself  smile

Last edited by LS97 (2012-02-02 15:32:47)

Offline

 

#17 2012-02-02 16:17:40

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Finding the ip of my site

LS97 wrote:

I don't think I understand what slinger is trying to do, then. I did understand the above though, I've parked Mod Share myself  smile

Yeah, I don't fully understand what slinger wants. He got the IP he needed, but he probably needed the NS domains/ips instead of the actual website IP.

Offline

 

#18 2012-02-02 18:58:55

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: Finding the ip of my site

You can't use a TK for DNS with Dropbox because your site itself doesn't have it's own IP. If you really wanted to use this, you'd have to have a freakin' awkward URL, like

yourdomain.tk/u/usernumber/foldername/file.extension

Last edited by veggieman001 (2012-02-02 18:59:04)


Posts: 20000 - Show all posts

Offline

 

#19 2012-02-02 19:51:38

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Finding the ip of my site

veggieman001 wrote:

You can't use a TK for DNS with Dropbox because your site itself doesn't have it's own IP. If you really wanted to use this, you'd have to have a freakin' awkward URL, like

yourdomain.tk/u/usernumber/foldername/file.extension

Actually, for web-hosting companies they have something like this set up:

Server and user accounts
IP address (for example 127.0.0.1, ignore the fact that it's a local IP)
Domain name pointing to the IP address name-servers (127.0.0.2, 127.0.0.3) we'll use "example.com" for the domain.

The folders are set up like so:
/home/username/public_html

And your website is in public_html. For the website's sub-domain, we'll use "user.example.com" which will be owned by the user "foobar". What happens when you ask your browser for "user.example.com" the browser sends a request to your ISP, ISP to IANA (I skipped a whole lot through there, but eh), IANA responds with the IP address for the website (user.example.com's IP is 127.0.0.1), the ISP then looks for 127.0.0.1 through the internet, it finally finds a "link" to the IP address.

It then sends the HTTP Request to the web-server on 127.0.0.1 (example.com, not user.example.com) the HTTP Request also contains the website it is looking for, since the web-server knows user.example.com is owned by foobar, it responds with the corresponding webpage.

You can have hundreds of sites on a single IP. So theoretically, Dropbox could set up their web-servers to support other domains like: u#####.dropbox.com/folders/file.ext but I don't think they want to set up a web-hosting company.

Offline

 

#20 2012-02-02 20:39:09

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: Finding the ip of my site

Magnie wrote:

veggieman001 wrote:

You can't use a TK for DNS with Dropbox because your site itself doesn't have it's own IP. If you really wanted to use this, you'd have to have a freakin' awkward URL, like

yourdomain.tk/u/usernumber/foldername/file.extension

Actually, for web-hosting companies they have something like this set up:

Server and user accounts
IP address (for example 127.0.0.1, ignore the fact that it's a local IP)
Domain name pointing to the IP address name-servers (127.0.0.2, 127.0.0.3) we'll use "example.com" for the domain.

The folders are set up like so:
/home/username/public_html

And your website is in public_html. For the website's sub-domain, we'll use "user.example.com" which will be owned by the user "foobar". What happens when you ask your browser for "user.example.com" the browser sends a request to your ISP, ISP to IANA (I skipped a whole lot through there, but eh), IANA responds with the IP address for the website (user.example.com's IP is 127.0.0.1), the ISP then looks for 127.0.0.1 through the internet, it finally finds a "link" to the IP address.

It then sends the HTTP Request to the web-server on 127.0.0.1 (example.com, not user.example.com) the HTTP Request also contains the website it is looking for, since the web-server knows user.example.com is owned by foobar, it responds with the corresponding webpage.

You can have hundreds of sites on a single IP. So theoretically, Dropbox could set up their web-servers to support other domains like: u#####.dropbox.com/folders/file.ext but I don't think they want to set up a web-hosting company.

Yeah, I know that, but they have to have the web servers configured to do that and I was speaking for practical purposes only.


Posts: 20000 - Show all posts

Offline

 

#21 2012-02-03 03:31:20

slinger
Scratcher
Registered: 2011-06-21
Posts: 1000+

Re: Finding the ip of my site

Magnie wrote:

LS97 wrote:

Magnie wrote:

What are you trying to do? Have your .tk domain be the domain of your site? Cause you can't do that with Dropbox. You can only cloak the page.

Of course, but wouldn't the TK domain still have an IP of its own, to be reached by DNS's?

Yes, it does. dot.tk creates a webpage which "cloaks" the actual site (using an iframe), so when you ping your TK domain, you get dot.tk's IP. If you ping dropbox itself, you get it's IP.

I think what slinger wants to do is instead of having a cloaked page (page --> site.com/index.php, page2 --> site.com/index.php) he wants the site to actually be "on the domain" (page --> site.com/page, page2 --> site.com/page2).

As far as I know, you can't do something like that with Dropbox, you would have to tell Dropbox the domain and you would have to tell the domain provider the NS servers of Dropbox. Though, I don't think Dropbox has the feature of "parking domains" or having "add-on domains".

If you set the domain as an add-on or parked domain on Dropbox somehow, when you ping the TK domain, you get the IP of Dropbox and not the dot.tk's IP.

Modshare.tk is an example of using a parked/add-on domain.
slinger's site is an example of using a cloaked domain.

That's exactly what i'm trying to do. I just want it to look good lol. From what I have seen it's not possible if i'm hosting it on dropbox  tongue


http://s0.bcbits.com/img/buttons/bandcamp_130x27_blue.png

Offline

 

Board footer