Point SubDomain on NameCheap to use web hosting on my VPS?

January 25, 2015 3.5k views

What I Want:

I own the domain “masterbugpatch.com” on NameCheap.

I want to have an online proxy for my website, one of those online proxies such as hide.me/en/proxy . I already have it setup on masterbugpatch though I found out NameCheap doesn’t allow hosting online proxies because of the bandwith usage.

So I would like to host on my VPS the online proxy then have my subdomain hide.masterbugpatch.com point to it.

What I’ve Tried:
I’ve tried install ZPanel onto my VPS and it worked. Though ZPanel installs itself on to the root of the VPS, what I mean by this is. “”(My VPS) will take you to ZPanel. I would like it to be “” is zpanel, and “” would be the site that I wish for. Though I can’t figure that out either.

I appreciate any help whats so ever, thank you very much.

1 Answer

What you have to do is create a CNAME hide, like you want it, and point it yo your VPS ip. About the zpanel you have to find the apache configuration file for zpanel and change it to point to http://ip/zpanel. The configuration is probanly in /etc/apache2/sites-available/.
This tutorial might help you understand more

by Justin Ellingwood
The Apache web server is the most popular way to serve web content on the internet. Apache has the ability to serve multiple domains from a single server by using a mechanism called "virtual hosts". If a virtual host is configured correctly for each domain, the web server can correctly route traffic to the appropriate files based on the domain name requested. In this guide, we'll demonstrate how to configure Apache virtual hosts on an Ubuntu 14.04 VPS.
Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!