PDA

View Full Version : Newbie Dapper Server User - How to setup a domain


daniminas
January 24th, 2007, 07:26 AM
Hi all,
I'm newbie at 'servers' setups, etc.. I have my own server running fine :), (firewall, mail, web, etc..) but from now i'm using a IP address to access to. I'm also have a domain registred wich i want to use(for this server).

Now, my question is how can i setup my domain in my Ubuntu Dapper Server?


Thanks verry much in advance, and sorry my english (i'm speak spanish)

Daniel

jtc
January 24th, 2007, 08:18 AM
Hi all,
Now, my question is how can i setup my domain in my Ubuntu Dapper Server?

Assuming you've got the default install and that you're only using one vhost you really don't have to do any setuping on the server. Any connection, no matter what domainname they used, to your server will get the default vhost.

What you will have to do is to tell your domainregistrant to point domainname towards your ip-number.

Still, it never hurts to tell Apache which domainname is used against it. Add the following line to your /etc/apache2/sites-available/default

ServerName your.domain.name

It should be somewhere in between <VirtualHost *> and </VirtualHost>. Preferable at the top, just for the order of things.

daniminas
January 28th, 2007, 10:10 AM
Yes, i know about apache... my question is about how to setup a domain.. i need some dns server?..


Thanks!

Koybe
January 28th, 2007, 10:19 AM
Something to do with this : http://www.ubuntuforums.org/showthread.php?t=347465

:)