LAMP, OpenSSH, FTP...domain name

teammatt3's picture

He has: 2,102 posts

Joined: Sep 2003

My spare computer has now been transformed into a LAMP server. I have FTP (sort of working) and OpenSSH up and running. That's all good but I have to keep typing in my ip to get to the server. Is there a way to configure one of my domains to point to it? So in putty or from another unix command line I can just type mattisreallycool.com or something like that? I know about no-ip.com, but is there a way I can do it without paying them? Anyone know of a good tutorial to show me how? I'll be on the lookout for one, but if you know of a good one let me know Smiling.

P.S. is a load average of 0.07, 0.11, 0.09 any good?

He has: 1,758 posts

Joined: Jul 2002

Yup... you need to change your local hosts file. Are you on a PC if so you need to edit 'C:\WINDOWS\system32\drivers\etc\hosts' (just crack it open with notepad). You should see a line that reads:

127.0.0.1       localhost'

After that just hit return and type:

yourip       mattisreallycool.com'

Not sure about unix boxes, but if you are on a Mac, I can dig it out for you if need be.

Andy

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.