?Do I use PTR or Cname?

Discussion in 'General' started by elloydaz, Nov 12, 2008.

  1. elloydaz

    elloydaz New Member


    Its perhaps a simple question, but how do you setup a website with the address 'http://www.example.com', without the file / directory path; so that, a end-user visiting 'http://www.example.com/directory/file-path.html', need only type 'http://www.example.com' in their respective web-browser address bar? Any information would be highly appreciated, Thanxs.
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    This has nothing to do with DNS, so you neither setup a ptr reciord nor a cname record. What you need is a apache rewrite rule:


    you can add the apache rewrite rules in the apache directives field of the website.

Share This Page