How can I get cpanel in my server?

Arijit Ghosh 21 Reputation points
2022-07-12T14:27:53.653+00:00

I am new to microsoft azure and have created a virtual machine. Now I have hosted a website on the server IP address. But the problem is when I point my hosted IP address to a namecheap domain, and ask for the cpanel from namecheap community support, they are saying "please contact Microsoft to resolve this". So can I know what things I am doing wrong?

SQL Server on Azure Virtual Machines
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,013 questions
{count} votes

Accepted answer
  1. Dillon Silzer 57,826 Reputation points Volunteer Moderator
    2022-07-13T19:47:35.81+00:00

    You should set up vHosts on Apache (see documentation below). Once you have done that, you will need to point your A record towards your Azure Public IP address.

    Once this has been completed, you should now be able to go to your Domain (www.domain.com) and it will know how to route to your /var/www/ directory.

    https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-16-04

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.