I used this guide to install zpanel:
https://www.digitalocean.com/community/articles/how-to-install-zpanel-on-centos-6
During installation I put zpanel.mydomain.com
But the only way I can access zpanel is through www.mydomain.com
Keep in mind the domain was purchased somewhere else. When I went into my account where I purchased the domain I set up a subdomain:
Now how do I point this to make it work to access zpanel on my subdomain?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Hi I have same problem. My ZpanelCP use my domain alphaserver.cz but I want to use ZPanelCP on subdomain hosting.alphaserver.cz and on page alphaserver.cz i want to have my own blog. Please could you help me ?
Creating the sub-domain w/the DNS registrar is only 1 step in the process. You also have to tell your web server what page to load when someone comes a’knocking via the sub-domain. You need to do that in either <br><pre>/etc/nginx/sites-available</pre> <br>or <br><pre>/etc/apache2/sites-available</pre> <br> <br>Then–for Nginx–create a symbolic link in <br><pre>/etc/nginx/sites-enabled</pre> <br>to zpanel.mysite.com by executing <br><pre>sudo ln -s /etc/nginx/sites-available/zpanel.mysite.com /etc/nginx/sites-enabled/zpanel.mysite.com</pre> <br> <br>For Apache, the command is: <br><pre>sudo a2ensite zpanel.mysite.com</pre>
@Miguel: Do you want to redirect http://123.12.12.12/ to http://123.12.12.12/zpanel? <br> <br>/zpanel is a subdirectory, not a subdomain. Please create a separate question.