Hi, I'm a total newbie with ispConfig that I got installed on an ovh dedicated server. I bought the doc.pdf where it is said that I should be able to access freshly created websites but at whitch url ? When I try http://ip_or_name_server/testsite.com/web/ I get 403 error with "client denied by server configuration: /var/www/testsite.com/web/index.html" in apache logs I need that feature to test websites before real domain name transfers. Thanks for your help
Please see ISPConfig FAQ: http://www.faqforge.com/linux/contr...ess-a-namebased-website-without-a-dns-record/
Thanks. I added the domain name in /etc/hosts. But what url then ? Tried ip_server and ip_server/domain_name with no result
The url is the domain that you added, so if you added domain.tld, then open http://domain.tld in the browser to access the website.
How would this be possible? How would this be possible? The domain.tld already exists and works on another server !
The purpose of the /etc/hosts file is to override domains in DNS. So if you set the domain in the hosts file (on your desktop, not the server!), then it instructs your browser to access the server that is defined in /etc/hosts and to ignore the DNS record. Just try it, you will see then that it works for Linux, *BSD, Windows and MacOS.
want to put all websites in place on the new server Thanks a lot. It works fine. It took me a long time to understand it was to set on MY LOCAL DESKTOP. Confused. English is not my native language and sometiome I read to quickly.
403 error again It works fine when I select suphp or cgi options in a website. Now, when I select fastcgi in website options I get 403 error again !
But thats not related to the way you access the site with a hosts file. You can find the reason for the error in the error.log file of the website.
OK. Thanks for your help. To end that topic. If I need to build a test site without domain name. I can't ask my users to manipulate their hosts file. Is there a solution with ispconfig for that ?
Sure, just assign a subdomain of a domain that you own as aliasdomian to access the site. Like customer1.yourdomain.tld and then access the website trough that domain.