PDA

View Full Version : Getting Started


xptical
05-02-2005, 01:48 PM
Sorry for the newb qiestion...

So, I just bought an account from you guys. I also registered a domain with godaddy.com. How do I link the IP that you'll send me with the domain that godaddy will send me?

Also, the domain I registered was server.com. How do I get www.server.com, silc.server.com, and othersubdomain.server.com all working? I'm assuming I'll have to run BIND9 on my server and godaddy will just point *.server.com at my IP address.

I plan on running Debian. On my box at home, I have to select "linux26" at install time to get it to actually get it to use the 2.6 kernel. Using the "buisness card iso" will even download the Debian kernel best optimized for my system. How does the basic system install here work?

Finally, my office blocks ssh. Is there a way to use ssh over port 80 or 21?

AndrewKT
05-02-2005, 02:23 PM
[QUOTE=xptical]Sorry for the newb qiestion...

So, I just bought an account from you guys. I also registered a domain with godaddy.com. How do I link the IP that you'll send me with the domain that godaddy will send me?[/quote]
If you run bind on you vps, you can register your IP as a nameserver for your domain. Then set your newly registered nameserver as one of the nameservers for your domain.

Also, the domain I registered was server.com. How do I get www.server.com, silc.server.com, and othersubdomain.server.com all working? I'm assuming I'll have to run BIND9 on my server and godaddy will just point *.server.com at my IP address.
You just have to get bind running.

I plan on running Debian. On my box at home, I have to select "linux26" at install time to get it to actually get it to use the 2.6 kernel. Using the "buisness card iso" will even download the Debian kernel best optimized for my system. How does the basic system install here work?
Slackware user, can't help much, except to say that Unixshell has several compiled kernels that you can use. At this point those are your only options. (You have to use a kernel that has the Xen patches applied to it.)

Finally, my office blocks ssh. Is there a way to use ssh over port 80 or 21?
As long as neither of those ports is important to you for their original purposes, yes you can use them. You'll need to configure your services to run on those ports while accessing the vps from a less restrictive location.

Also consider port 443, it may be allowed through your firewall, and as long as you've not got a SSL cert on a website it won't be in use.

If you need any/all of those ports, you can request a second IP address for your vps. On one of the IPs, you'll run standard services in their normal places. On the second, you can run ssh on any port you can poke through the firewall with.

dne
05-02-2005, 05:15 PM
[QUOTE=AndrewKT]You just have to get bind running.[/QUOTE]

There are at least 3 other, easier ways to do it:


Let unixshell# host your DNS (no extra charge)
Let the registrar host your DNS (free at GoDaddy, Gandi, Joker etc.)
Use 3rd party DNS hosting (e.g. everydns.net, zoneedit.com, dyndns.org)


Regards,
Daniel

werpon
05-02-2005, 07:21 PM
You don't need to run BIND; in fact I'd advise not to unless you have experience or just want to learn and accept you may end up having your domain "down" at any point.

Godaddy will let you use their DNS servers, so you don't have to run BIND. IIRC they called it "Total DNS Control" or something like that. You "only" have to find it and add an A record pointing your domain to your IP.

To change the port SSH will listen on, just edit the appropriate option in /etc/ssh/sshd_config.

xptical
05-02-2005, 08:51 PM
I just decided to do it via the web interface at godaddy.com. It took me a while to actually drill down to the records, but I'm there now.

Here's a follow up question (2 actually)

I have a test server running at home with (basicly) the same config as my live server. I'm using that to test out some things and work out bugs (mrgt was always a pain:) ) before I go live with my site. Right now, all my data is in /var/www/. I want to have multiple users all with seperate www/ directories. For instance, user1 would have the web address user1.server.com and his data would be in /home/user1/www; user2 would be at address user2.server.com and his data would be in /home/user2/www. The main site would still be at www.server.com. Does anyone have a general outline (hotwo would be nice) on getting this working either with or without purchacing another IP address?

Is there an IRC channel where I can idle or ask questions about unixshell service? As much as I love bulletin boards, IRC has that extra-geeky feel. Besides, if my boss sees web boards, he thinks I'm fucking off; if he sees nethack/silc/irc, he thinks I'm hard at work. :/


BTW, I just read your "about" page and realized you probably don't give a shit... I'll google for some howtos and see what I can come up with on my own.

AndrewKT
05-02-2005, 09:03 PM
[QUOTE=dne]There are at least 3 other, easier ways to do it:[/QUOTE]
Sure, if you want to do it the easy way... ;)

I misread the OP's statement as they wanted to run BIND.

[quote=xptical]For instance, user1 would have the web address user1.server.com and his data would be in /home/user1/www; user2 would be at address user2.server.com and his data would be in /home/user2/www. The main site would still be at www.server.com. Does anyone have a general outline (hotwo would be nice) on getting this working either with or without purchacing another IP address?[/quote]
Look up "vhosts" with apache. mod_rewrite can do similar, but it's more difficult.

msh
05-03-2005, 08:28 AM
[QUOTE=xptical]
I have a test server running at home with (basicly) the same config as my live server. I'm using that to test out some things and work out bugs (mrgt was always a pain:) ) before I go live with my site. Right now, all my data is in /var/www/. I want to have multiple users all with seperate www/ directories. For instance, user1 would have the web address user1.server.com and his data would be in /home/user1/www; user2 would be at address user2.server.com and his data would be in /home/user2/www. The main site would still be at www.server.com. Does anyone have a general outline (hotwo would be nice) on getting this working either with or without purchacing another IP address?
[/QUOTE]

Try looking up virtual servers in the apache documentation. Its rather easy to setup. Esp. if you use a control panel like webmin.