View previous topic :: View next topic |
Author |
Message |
macawgumbo Apprentice
Joined: 28 May 2004 Posts: 165
|
Posted: Mon Jan 31, 2005 3:09 am Post subject: How do I use just an IP? |
|
|
I am not sure I want to register a domain for my home (definetly not yet). I have a Linksys router of which the ports for mail, web, ftp, etc will be forwarded. The gentoo server will be on the inside and act as a dev/prod/mail/ftp server. I was following the excellent guides for qmail and am asking myself what do I do about a domainname? If i have a static ip, then can't i just type 1.1.1.1 to get the webserver on my box? Then couldn't I just use a different port somehow to access pop3 and smtp servers? On top of that, how is the configuration going to go and what would my machine be? And domainname? nisdomainname? I just want to access it by IP and ports. Is this easy, hard, possible, you're stupid get a domain? (I don't want a domain yet)
Last edited by macawgumbo on Sat Feb 05, 2005 12:47 am; edited 1 time in total |
|
Back to top |
|
|
VanDan Guru
Joined: 30 Sep 2002 Posts: 586 Location: Australia
|
Posted: Mon Jan 31, 2005 3:32 am Post subject: |
|
|
I use dyndns: http://www.dyndns.org/
It's free. You choose from a list of domains they have available, and add your hostname to it, for example, they have homelinux.org ... and I put my host 'entropy' in front to get [url]entropy.homelinux.org[/url]
This gets around your problem of not having a fully qualified hostname. Now you do... |
|
Back to top |
|
|
VanDan Guru
Joined: 30 Sep 2002 Posts: 586 Location: Australia
|
Posted: Mon Jan 31, 2005 3:35 am Post subject: |
|
|
Ooops. I should have read more of your post before replying.
If you just want to use an IP address, then by all means use it.
As for how you set it up - most of these routers have a web-based setup thingy. You need to set up a 'virtual IP' or whatever they call it ... for our product it's a virutal IP anyway.
Otherwise if you don't have this option, then you could manually set up port forwarding for the services you want. |
|
Back to top |
|
|
James Wells n00b
Joined: 10 Sep 2004 Posts: 57
|
Posted: Mon Jan 31, 2005 4:14 am Post subject: Re: What if I don't have a domain, just an IP? |
|
|
Greetings,
macawgumbo wrote: | I am not sure I want to register a domain for my home (definetly not yet). |
There is really only two things that determine if a person should get a domain name;
1. Need /desire to have a recognized name used by incoming services. For example I have a domain name registered for recieving email by name rather than by number.
2. Remote access to a DHCP served service on your network. My ISP refuses to give me a static IP, instead forcing me to use DHCP. By using a domain name, I can get to my home network without knowing with that public IP address is.
You do not need a domain name if all you are doing is connecting to things outside your own network, such as hitting www.google.com does not require you to have a domain name.
Quote: | I have a Linksys router of which the ports for mail, web, ftp, etc will be forwarded. |
Now since you are forwarding mail and web services, most likely, you either want to be able to access your site remotely, or you want other people to access your site remotely or send you email. For either of these, domain names are easier to remember than IP's, though neither actually require it.
Quote: | The gentoo server will be on the inside and act as a dev/prod/mail/ftp server. I was following the excellent guides for qmail and am asking myself what do I do about a domainname? If i have a static ip, then can't i just type 1.1.1.1 to get the webserver on my box? Then couldn't I just use a different port somehow to access pop3 and smtp servers? |
This part is a bit confusing, it sounds like you don't want anyone from the outside to use your services, instead are using the services yourself only. If this is the case, then you really should turn off the port forwarding as these are to forward requests from the outside to the inside, not the other way around.
Generally, when you are building a strinct Intranet, you don't need a domainname, however, if you choose to use one, it is recommended that you use a TLD (Top Level Domain) that does not exist on the internet, such as .corp or .home. For example, on my home network, I use a .home TLD with my second tier domain name pre-pended to it.
To better understand this, assume you have a public domain called macawgumbo.org, you would use macawgumbo.home for you home network.
Quote: | I just want to access it by IP and ports. Is this easy, hard, possible, you're stupid get a domain? (I don't want a domain yet) |
It is very easy and very possible, I did it for a long time, the only real hardship, assuming that you are the only one using it is simply remembering the IP addresses after an extended away time.
Don't know if I helped or hurt, but good luck either way. |
|
Back to top |
|
|
Code Tux's lil' helper
Joined: 31 Jan 2005 Posts: 98
|
Posted: Mon Jan 31, 2005 4:31 am Post subject: |
|
|
Not sure if this is what you are looking for, but it allows a dynamic IP to be linked to a DNS name. As your IP changes, the DNS gets updated automagically. Not sure if it will work with Gentoo though.
http://www.no-ip.com/ |
|
Back to top |
|
|
macawgumbo Apprentice
Joined: 28 May 2004 Posts: 165
|
Posted: Wed Feb 02, 2005 1:28 am Post subject: |
|
|
Thanks for the feedback thus far. I was really looking at setting up a web server for external access from the internet along with email and ftp. I wanted to do it like everybody else minus the domain. My question is really how do i set up Gentoo to accept 1.1.1.1 as my "domainname" because i infact don't have one. How would an email address go? admin@1.1.1.1? And if i was to use virtual hosts (for multiple subdomains) would it be different ports, or a prefix to the ip? How would I configure qmail to access outside email and thus an email client to access this email server via IP rather than by name? Configuration of this? Please step by step for qmail, vpopmail, and (Horde?). Finally, what exactly am I to do about port forwarding? Use it or DMZ and make my whole linux box open to the world. Now that I'm thinking about it, will be using it as internal file storage via samba for some of my windows machines. So probably better to port forward and then I can close ports as needed. Any suggestions. Do I still need a firewall when only say port 80 is available for the web server and the it is port forwarded so the internet can't access anything but port 80? Thanks. |
|
Back to top |
|
|
macawgumbo Apprentice
Joined: 28 May 2004 Posts: 165
|
Posted: Wed Feb 02, 2005 1:30 am Post subject: |
|
|
The real reason i dont want a domain is because i think i am getting cheap hosting and still want a dev box with web and email capabilities and dont want to have to change setting later on.
[The previous was a run-on sentence.] |
|
Back to top |
|
|
macawgumbo Apprentice
Joined: 28 May 2004 Posts: 165
|
Posted: Fri Feb 04, 2005 2:55 am Post subject: |
|
|
Couldn't localhost.localdomain be the domainname for all configuration steps and then I could forward the ports to the outside and it would work? THe admin email could be my email address at the the IP? What happens if I get a new IP though? How easy is it to change it? |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|