Hi
Sorry if this is explained else where. Is it possible to create a default web site eg. for the hosting company, without setting them up as a user with domain?
What is the normal aproach to this?
Default Web SIte
- SouthT
- Closed
- Thread is marked as Resolved.
-
-
Hi,
Do you mean when a website is pointing with a DNS A record to your IP, but no domain is added to i-MSCP?
Use the plugin Default Domain Page for that -
-
Let me explain with an example.....
I am xx hosting and have clients who have web sites. I as xx hosting also need a site.
so https://www.xx.com:4443 is the i-mscp panel.
I would like www.xx.com to be my own web site where I would advertise my services -
The easiest way is to add that domain to i-MSCP, but I understand you do not want that (why not??)
You could manually add a DNS zone, add a manual site to apache (copy another domain from /etc/apache2/sites-available and then use a2ensite.
If you want to use PHP-fpm, set up a PHP-FPM pool too. -
-
Thanks
Its not that I dont want to - just wanted to see what the correct way should be. I have tried other panels and if you try put your own domain they complain -
Not with i-MSCP, these is completely seperated.
The CP uses nginx, your website (when configured in the CP) uses Apache. -
-
I'm not sure if I understood you right, but let's say your domain is "xx.com" like in your example.
When you make the control panel reachable under for example "server1.xx.com" and you create a domain in i-MSCP "xx.com", than everything works.
-
You can have the cp running on port 8080/4443 and your website on 80(http) without any issues. Just add the domain to imscp
-