News:

Holy shit, it's 2018 2019 2020 2021 2022 2023 2024, and the US isn't a fascist country! What a time to be alive. Well, shit.

Main Menu

Pointing IP -> Domain

Started by deadly7, June 19, 2006, 06:46:57 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

deadly7

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

MyndFyre

Edit /etc/hosts to include the line:


127.0.0.1     localhost    a.b.com
Quote from: Joe on January 23, 2011, 11:47:54 PM
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Quote from: Rule on May 26, 2009, 02:02:12 PMOur species really annoys me.

deadly7

[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

MyndFyre

Note for Windows systems this is in %SYSTEMROOT%\System32\drivers\etc\hosts

;-)
Quote from: Joe on January 23, 2011, 11:47:54 PM
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Quote from: Rule on May 26, 2009, 02:02:12 PMOur species really annoys me.

iago

Or you can add a DNS record. Then it'll work for anybody

deadly7

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

Sidoh


MyndFyre

Quote from: deadly7 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.

AFAIK you can't do it for only certain ports.
Quote from: Joe on January 23, 2011, 11:47:54 PM
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Quote from: Rule on May 26, 2009, 02:02:12 PMOur species really annoys me.

deadly7

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

MyndFyre

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.
Quote from: Joe on January 23, 2011, 11:47:54 PM
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Quote from: Rule on May 26, 2009, 02:02:12 PMOur species really annoys me.

Chavo

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 ;)).

deadly7

Quote from: MyndFyrex86] link=topic=6328.msg75779#msg75779 date=1150782967]
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).

Quote from: unTactical 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.
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

Chavo

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 ;)

deadly7

:( 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

MyndFyre

Quote from: Joe on January 23, 2011, 11:47:54 PM
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Quote from: Rule on May 26, 2009, 02:02:12 PMOur species really annoys me.