Nameserver configuration [Solved]

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Nameserver configuration [Solved]

Postby itzy » 29. January 2012 16:56

Hi all,

I've installed XAMPP latest version to CentOS 5 32bit VPS.it working smoothly...
at the moment i access my vps by http://ip.add.re.ss/blabla/
now i want to point my domain to my vps (vps company given 2-nameserves)
i did godaddy dns setting well,but im fail with VPS configuration..

anybody can help me? please explain..noob there :mrgreen:
Thanks a Ton
itzy
 
Posts: 8
Joined: 28. November 2011 10:45
Operating System: CentOS 5

Re: Nameserver configuration

Postby JonB » 30. January 2012 00:45

although this is not a XAMPP topic, I will give you my opinions -

Most people (and most smaller companies) don't run their own nameservers, just too much to know, and a lot to go wrong. Big companies, or ones with multiple data centers and private WANS, those are the ones that run their own nameservers. It takes a knowledgeable person to do that kind of work (its something I do for companies as a consultant). If you have a managed VPS, the hosting company will often set it up for you.

Many people pay a small additional fee, and let their Domain Registrars provide the service. Its usually $8-$15/year. And of course they provide support/help.

Another solution (one i use) is a service called Zonedit. its a ready to use DNS service, very reliable. I think the first one or two Zones (that is the correct term for a Domain) are still free. AND its a dynamic service, so updates are almost instantaneous.

http://www.zonedit.com/whyZoneEdit.html

http://www.zonedit.com/pricing.html

Good Luck
8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: Nameserver configuration

Postby itzy » 30. January 2012 03:29

tbh i was looking for "httpd-vhosts.conf" file configuration :shock:
PS: VPS is semi managed (solusVM panel)
itzy
 
Posts: 8
Joined: 28. November 2011 10:45
Operating System: CentOS 5

Re: Nameserver configuration

Postby JonB » 30. January 2012 15:45

Itzy -

The DNS settings have nothing to do with your VPS or your Apache vhosts. DNS just 'points' to a numeric IP. The NameVirtualHost (vhosts) directives will do all the work.

As far as your vhosts:

On a managed VPS (one with a control panel) you should always use the control panel to add new domains, as it will do the work perfectly. I don't know SolusVM, but in Plesk v 10, you would use the Websites and Domains tab and 'add a new domain'. It will lead you through setting up all the items needed to provision that Domain on your VPS. That is to say, it will add the folders necessary, and make all the modifications to the Apache configuration. Sub-domains are virtual hostnames within a Domain. If its a Centos VPS, the files will likely be added under /var/www/vhosts/domainname.tld/httpdocs and /var/www/vhosts/domainname.tld/httpsdocs

All the filesystem structure and layout was done to enable hosting multiple domains the way the system looks for them. Don't fight the machine! :shock: (LOL)

I have 3 VPS's and, even with my level of experience, I still let the control panel do all the work. Besides if you muck about and break it, you will have a hard time getting the hosting support desk's help fixing it.

Good Luck
8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: Nameserver configuration

Postby JonB » 30. January 2012 16:19

I'll suggest a tool to better learn about and manage a VPS - Webmin. It is a Unix system administrator's tool and it will give you tools and insights no Control Panel can.

http://www.webmin.com/

Good Luck
8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: Nameserver configuration

Postby itzy » 30. January 2012 18:16

Thank you JonB :)
Just installed webmin :) can not open php files in server.
do i want to install php manually? noob <3

im sorry for asking webmin supports here
itzy
 
Posts: 8
Joined: 28. November 2011 10:45
Operating System: CentOS 5

Re: Nameserver configuration

Postby JonB » 30. January 2012 22:52

don't worry , LOL - I'm not going to try to fix that.

A. XAMPP already has PHP built-in, so no need to install -

B. For Webmin - Webmin ISN'T written in PHP, its Perl (an executable) you may also need to edit the shebang line in the critical modules. Webmin is NOT served like PHP by Apache, it is its OWN remote administration server and runs on Port 10000 normally. You probably need to create an alias AND you may have to install in a cgi-bin folder. You might have to install Webmin from the tarball on your VPS system, that question would be best answered by your host. If you install webmin on XAMPP, I am sure you will have to install 'manually' (from a tarball). This will be a good chance to learn things -

BE SURE ALWAYS TO BACKUP BEFORE YOU INSTALL! XAMPP for Linux has a built-in backup that saves configuration files.

Good Luck
8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: Nameserver configuration

Postby itzy » 31. January 2012 09:11

thanks..thread can be closed
itzy
 
Posts: 8
Joined: 28. November 2011 10:45
Operating System: CentOS 5


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 17 guests