I have a folder called "Public_HTML" on the root of my server (ip: 50.63.60.70).

I'm not sure whether it's done by adding a DNS record or not. But anyway how do I redirect my domain to this folder?

Thanks

link|improve this question

60% accept rate
feedback

2 Answers

This is nothing to do with DNS, and to stave off the question completely can't be done with DNS.

This is everything to do with configuring your webserver (be it Apache, nginx, IIS, whatever - you've not said what you're using) so that the DocumentRoot points to your public_html.

link|improve this answer
feedback

Provided the document root in the webserver configuration is set up correctly for your domain in plesk so that the webserver is configured to serve your website from the public_html folder, then the best way is to let plesk handle the DNS requirements for you.

If this is a hosted server, then your hosts may have name servers already defined for their service. If this is the case, then you just need to go to the registrar where you purchased your domain, and they will have a control panel where you can enter the name servers your web host provided you.

If this is your own server, and you are using plesk DNS, then you need to register name servers for your domain. Just add ns1.yourdomain.com and the IP address of your server at in the registrar control panel.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.