Author Topic: Pointing IP -> Domain  (Read 8486 times)

0 Members and 2 Guests are viewing this topic.

Offline deadly7

  • 42
  • x86
  • Hero Member
  • *****
  • Posts: 6496
    • View Profile
Pointing IP -> Domain
« on: June 19, 2006, 06:46:57 pm »
So let's say that I have a subdomain (let's call it a.b.com).  Let's say my IP is 127.0.0.1.
How would I go about pointing it so that when someone visits a.b.com it's the same thing as visiting my ip directly.
This is for the ET server I've decided to host on my rig.
[17:42:21.609] <Ergot> Kutsuju you're girlfrieds pussy must be a 403 error for you
 [17:42:25.585] <Ergot> FORBIDDEN

on IRC playing T&T++
<iago> He is unarmed
<Hitmen> he has no arms?!

on AIM with a drunk mythix:
(00:50:05) Mythix: Deadly
(00:50:11) Mythix: I'm going to fuck that red dot out of your head.
(00:50:15) Mythix: with my nine

Offline MyndFyre

  • Boticulator Extraordinaire
  • x86
  • Hero Member
  • *****
  • Posts: 4540
  • The wait is over.
    • View Profile
    • JinxBot :: the evolution in boticulation
Re: Pointing IP -> Domain
« Reply #1 on: June 19, 2006, 07:01:56 pm »
Edit /etc/hosts to include the line:


127.0.0.1     localhost    a.b.com
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Our species really annoys me.

Offline deadly7

  • 42
  • x86
  • Hero Member
  • *****
  • Posts: 6496
    • View Profile
Re: Pointing IP -> Domain
« Reply #2 on: June 19, 2006, 07:07:56 pm »
Ah, k.  Thanks.
[17:42:21.609] <Ergot> Kutsuju you're girlfrieds pussy must be a 403 error for you
 [17:42:25.585] <Ergot> FORBIDDEN

on IRC playing T&T++
<iago> He is unarmed
<Hitmen> he has no arms?!

on AIM with a drunk mythix:
(00:50:05) Mythix: Deadly
(00:50:11) Mythix: I'm going to fuck that red dot out of your head.
(00:50:15) Mythix: with my nine

Offline MyndFyre

  • Boticulator Extraordinaire
  • x86
  • Hero Member
  • *****
  • Posts: 4540
  • The wait is over.
    • View Profile
    • JinxBot :: the evolution in boticulation
Re: Pointing IP -> Domain
« Reply #3 on: June 19, 2006, 07:11:13 pm »
Note for Windows systems this is in %SYSTEMROOT%\System32\drivers\etc\hosts

;-)
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Our species really annoys me.

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: Pointing IP -> Domain
« Reply #4 on: June 19, 2006, 08:18:09 pm »
Or you can add a DNS record. Then it'll work for anybody

Offline deadly7

  • 42
  • x86
  • Hero Member
  • *****
  • Posts: 6496
    • View Profile
Re: Pointing IP -> Domain
« Reply #5 on: June 19, 2006, 10:14:48 pm »
iago, how would I go about doing that?
Also, let's say it's using certain ports.
Would I just make it:
127.0.0.1:A localhost a.b.com
And do that for as many ports as there are?
That's a bit excessive.
[17:42:21.609] <Ergot> Kutsuju you're girlfrieds pussy must be a 403 error for you
 [17:42:25.585] <Ergot> FORBIDDEN

on IRC playing T&T++
<iago> He is unarmed
<Hitmen> he has no arms?!

on AIM with a drunk mythix:
(00:50:05) Mythix: Deadly
(00:50:11) Mythix: I'm going to fuck that red dot out of your head.
(00:50:15) Mythix: with my nine

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: Pointing IP -> Domain
« Reply #6 on: June 19, 2006, 10:48:50 pm »

Offline MyndFyre

  • Boticulator Extraordinaire
  • x86
  • Hero Member
  • *****
  • Posts: 4540
  • The wait is over.
    • View Profile
    • JinxBot :: the evolution in boticulation
Re: Pointing IP -> Domain
« Reply #7 on: June 19, 2006, 10:57:33 pm »
iago, how would I go about doing that?
Also, let's say it's using certain ports.
Would I just make it:
127.0.0.1:A localhost a.b.com
And do that for as many ports as there are?
That's a bit excessive.

AFAIK you can't do it for only certain ports.
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Our species really annoys me.

Offline deadly7

  • 42
  • x86
  • Hero Member
  • *****
  • Posts: 6496
    • View Profile
Re: Pointing IP -> Domain
« Reply #8 on: June 20, 2006, 12:43:30 am »
So wait, ET requires ports 27950,27951,27960 UDP IN/OUT.  How would I do that?  Obviously I'm new to this. :p  Stupid james never helped me when I asked.
[17:42:21.609] <Ergot> Kutsuju you're girlfrieds pussy must be a 403 error for you
 [17:42:25.585] <Ergot> FORBIDDEN

on IRC playing T&T++
<iago> He is unarmed
<Hitmen> he has no arms?!

on AIM with a drunk mythix:
(00:50:05) Mythix: Deadly
(00:50:11) Mythix: I'm going to fuck that red dot out of your head.
(00:50:15) Mythix: with my nine

Offline MyndFyre

  • Boticulator Extraordinaire
  • x86
  • Hero Member
  • *****
  • Posts: 4540
  • The wait is over.
    • View Profile
    • JinxBot :: the evolution in boticulation
Re: Pointing IP -> Domain
« Reply #9 on: June 20, 2006, 01:56:07 am »
OHHHHH, NOW I understand.

I thought you wanted to redirect traffic from your computer outbound to a.b.com to 127.0.0.1.  I didn't know you wanted external incoming connections to also go there.

This is an external router issue.  Yeah, you'd need to register the subdomain to point to your public IP address with the DNS server that handles incoming requests on b.com (in your example).  Then, I'm assuming you're using a router, you need to configure external requests on those ports with UDP to be forwarded to your local machine.
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Our species really annoys me.

Offline Chavo

  • x86
  • Hero Member
  • *****
  • Posts: 2219
  • no u
    • View Profile
    • Chavoland
Re: Pointing IP -> Domain
« Reply #10 on: June 20, 2006, 11:08:49 am »
yea, you can't do what you are wanting to do without registering the b.com domain.

Alternatively, if you want a subdomain on one of mine, I can set that up pretty easily.  I assume that James and iago can do so as well if you prefer their domains.

Name resolution has nothing to do with ports, it is simply a way of associationg a human-readable name with a computer-readable number (IP adress).  The port forwarding stuff I assume you already know how to do (if you don't, why the hell did you right a guide for it on da ;)).

Offline deadly7

  • 42
  • x86
  • Hero Member
  • *****
  • Posts: 6496
    • View Profile
Re: Pointing IP -> Domain
« Reply #11 on: June 20, 2006, 12:58:04 pm »
This is an external router issue.  Yeah, you'd need to register the subdomain to point to your public IP address with the DNS server that handles incoming requests on b.com (in your example).  Then, I'm assuming you're using a router, you need to configure external requests on those ports with UDP to be forwarded to your local machine.
Mmkay.  That's what I was kind of thinking, but I wasn't sure (not even a smidgeon of a percent).

yea, you can't do what you are wanting to do without registering the b.com domain.
I was using that as an example. :P  I'd end up using my website.
Quote
Alternatively, if you want a subdomain on one of mine, I can set that up pretty easily.  I assume that James and iago can do so as well if you prefer their domains.
I'll probably use one from my website though.  Thanks anyways.
Quote
Name resolution has nothing to do with ports, it is simply a way of associationg a human-readable name with a computer-readable number (IP adress).  The port forwarding stuff I assume you already know how to do (if you don't, why the hell did you right a guide for it on da ;)).
I plagiarize.  What is this port forwarding thing you talk about?
[17:42:21.609] <Ergot> Kutsuju you're girlfrieds pussy must be a 403 error for you
 [17:42:25.585] <Ergot> FORBIDDEN

on IRC playing T&T++
<iago> He is unarmed
<Hitmen> he has no arms?!

on AIM with a drunk mythix:
(00:50:05) Mythix: Deadly
(00:50:11) Mythix: I'm going to fuck that red dot out of your head.
(00:50:15) Mythix: with my nine

Offline Chavo

  • x86
  • Hero Member
  • *****
  • Posts: 2219
  • no u
    • View Profile
    • Chavoland
Re: Pointing IP -> Domain
« Reply #12 on: June 20, 2006, 01:11:43 pm »
I was referring to b.com as your example clown.

I did not realize you had a domain, zoneedit.com is very helpful if you don't have a couple spare computers in different locations to act as DNS servers ;)

Offline deadly7

  • 42
  • x86
  • Hero Member
  • *****
  • Posts: 6496
    • View Profile
Re: Pointing IP -> Domain
« Reply #13 on: June 20, 2006, 01:17:20 pm »
:( iago I want a subdomain plz & thx.
wolverine.x86labs.org
pointing to my IP (you're admin, you can see teh ips)
I'll have a server set up sooner or later.
uT: if I didn't have a domain, how would i Have a website? God you're so silly. :P
Anyways, I have to find the server files I need for my ET server.  Which will be a pain in the butt because people suck and the official website is down constantly.
[17:42:21.609] <Ergot> Kutsuju you're girlfrieds pussy must be a 403 error for you
 [17:42:25.585] <Ergot> FORBIDDEN

on IRC playing T&T++
<iago> He is unarmed
<Hitmen> he has no arms?!

on AIM with a drunk mythix:
(00:50:05) Mythix: Deadly
(00:50:11) Mythix: I'm going to fuck that red dot out of your head.
(00:50:15) Mythix: with my nine

Offline MyndFyre

  • Boticulator Extraordinaire
  • x86
  • Hero Member
  • *****
  • Posts: 4540
  • The wait is over.
    • View Profile
    • JinxBot :: the evolution in boticulation
Re: Pointing IP -> Domain
« Reply #14 on: June 20, 2006, 03:30:51 pm »
Time to rootkit haxxor @ wolverine.x86labs.org!!!
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Our species really annoys me.