• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

DNS question

S

shahin

Guest
Hi,

I am new with linux an plesk, we have our own DNS server ns1.mydomain.org and ns2.mydomain.org.
I did install plesk, and every thing working fine, we want to start to host the websites of our customers so they can configure there DNS settings and mysql and there mail and etc...

But how should we go about the webhosting, should we use vertual hosting in apache? I don't like this one becuse every time we have to manully add new doamins to config file of apache and for that every time the apache has to restarted and that is not a good option.

Or becuse we have our own DNS server it would be enough that customers upload there website via ftp to the plesk server and then point there existing DNS (by asking from there existing provider) to our DNS server.

thanks,

Shahin
 
Plesk sets up virtual hosting for you, so you don't need to edit any Apache configuration files for that yourself.

If customers already have access to DNS they can point their A records to the IP address that your server is hosting their site on. In that case your DNS is not used. Or they could transfer their domain to your nameservers and then manage DNS through your Plesk installation on your nameservers.
 
Hi Thanks for your update,

Plesk sets up virtual hosting for you, so you don't need to edit any Apache configuration files for that yourself

Then where can I point the apache to the right home directory of the websites?

becuse I did create a domain for one of our customers uploaded there websites to the Plesk point there DNS to Plesk, nu when I open there domain in a web browser, I driected to Defaulte site of apache and it said it Works.
 
You don't need to do anything at all.

When you create a domain in Plesk, it does EVERYTHING for you
1) It adds the correct DNS records to Named for the domain (as long as you have made adjustments in Server- > DNS to match your requirements)
2) It modifies httpd.conf and various other files to match the needs of the domain
3) It creates /var/www/vhosts/domain.tld/(various directories) for the domain
4) It sets permissions, adds an FTP user and much much more.

This is what Plesk is for. It is its purpose.

If you are getting the default apache test page then something is wrong. Most likely DNS in fact. Or maybe Apache on your machine needs to be restarted.

Because you are new to Plesk it will be hard to know what is supposed to happen and what is not - the learning curve for any product is always annoying.

So, first things first...

Use www.dnsstuff.com to make sure the DNS for your domain really is correctly configured.

Try resarting apache at the command line and check for any errors.

Try resarting named at the command line and check for any errors.

Make sure the website has an index.html or index.php page. If you have uploaded a website and the index page is called index.htm and you have deleted index.html then you'll get the apache test page.

Faris.
 
Hi faris,
Thanks for your update, you are right the problem was some where in the DNS in the plesk, I did check the settings and now I get the good website.

Thanks again,

Shahin
 
Back
Top