Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 12th November 2008, 08:38
elloydaz elloydaz is offline
Junior Member
 
Join Date: Sep 2008
Posts: 10
Thanks: 5
Thanked 0 Times in 0 Posts
Default ?Do I use PTR or Cname?

Hello,

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.
Reply With Quote
Sponsored Links
  #2  
Old 12th November 2008, 09:37
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,733
Thanks: 840
Thanked 5,596 Times in 4,407 Posts
 
Default

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:

http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html

you can add the apache rewrite rules in the apache directives field of the website.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
upgrade 2.2.16 -> 2.2.22 PTR problem (Bugs?) jmroth Installation/Configuration 6 20th August 2008 01:23
BGP company: Reverse PTR records created with the same domain name cstanciu Installation/Configuration 1 23rd July 2008 20:01
Weird DNS PTR issue Norman General 5 11th May 2008 01:54
Issue resolving to correct domain name with telnet chillifire Installation/Configuration 12 1st March 2008 01:05
This line keeps on showing up in my bind record yurtboy1 Installation/Configuration 5 30th November 2007 13:19


All times are GMT +2. The time now is 11:01.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.