r00t
Regular Member
- Dec 27, 2008
- 310
- 867
Hey,
I'm giving my first steps in dedicated servers and I need some help.
Mine is completely unmanaged, comes just with Operating System.
My issue is to link the domain to one of the dedicated IP that I have on the server.
I've already installed the latest versions of apache, mysql and php. They're all up and fine, running smoothly. No issues there.
I've also installed webmin, just in case
So, since I cannot add hosts directly at the domain registrar that I used, I created a free account at DynDNS and setup two hostnames, one for each dedicated ip that i have.
Then i used those two hostnames as my nameservers, to the domain. I'm not sure if this is the right way to do it =X
Then I added this to the apache config file, for my domain of course:
<VirtualHost *:80>
ServerName www.domain.tld
ServerAlias domain.tld *.domain.tld
DocumentRoot /var/www/html
</VirtualHost>
What else do I have to do? I'm kinda lost.. If I use the domain now, it says the server can't be found.
I don't want to access the webpage only by using the server's ip.
Any help would be appreciated, thanks
I'm giving my first steps in dedicated servers and I need some help.
Mine is completely unmanaged, comes just with Operating System.
My issue is to link the domain to one of the dedicated IP that I have on the server.
I've already installed the latest versions of apache, mysql and php. They're all up and fine, running smoothly. No issues there.
I've also installed webmin, just in case
So, since I cannot add hosts directly at the domain registrar that I used, I created a free account at DynDNS and setup two hostnames, one for each dedicated ip that i have.
Then i used those two hostnames as my nameservers, to the domain. I'm not sure if this is the right way to do it =X
Then I added this to the apache config file, for my domain of course:
<VirtualHost *:80>
ServerName www.domain.tld
ServerAlias domain.tld *.domain.tld
DocumentRoot /var/www/html
</VirtualHost>
What else do I have to do? I'm kinda lost.. If I use the domain now, it says the server can't be found.
I don't want to access the webpage only by using the server's ip.
Any help would be appreciated, thanks