Portal Home > Knowledgebase > Articles Database > Domain Help


Domain Help




Posted by souvik2701, 02-04-2016, 06:28 AM
I have a VPS, Let it's IP be 1.2.3.4 I have just Bought an Domain, Let it be abc.com as well ! So, My VPS is running CentOS 6-32 Bit Running an Game Panel... I want to use panel.abc.com to access 1.2.3.4 I have tried creating A Records, panel.abcd.com TO A 1.2.3.4 Then go to panel.abcd.com, it showed me the panel login, as 1.2.3.4 But As soon as, I login, or change the page It go back to 1.2.3.4 Please Help me using the Sub Domain, and how to permanently set it up ! Thanks In Advance !

Posted by JABA-Hosting, 02-04-2016, 06:37 AM
Set to your Webserver (apache?) the vhost Server Alias panel.abc.com

Posted by net, 02-04-2016, 06:43 AM
Is this for your personal site? I hope you are not selling hosting.

Posted by souvik2701, 02-04-2016, 06:53 AM
Yup it's APACHE Yup, can say personal site actually a game panel !

Posted by Giovanni M, 02-05-2016, 06:23 AM
Try to add a virtual host entry in your Apache server. Since this is CentOS, the Apache configuration file should be found at /etc/httpd/conf/httpd.conf: 1. Replace #NameVirtualHost *:80 in the file with NameVirtualHost *:80 2. At the end of the file, append the following lines: 3. Save the file and restart Apache for the changes to take place: service httpd restart



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
OpenSRS (Views: 714)
Flexihostings.net Down (Views: 786)


Language: