Access domaing prior to DNS delegation

Discussion in 'Installation/Configuration' started by MasteRTriX, Aug 8, 2009.

  1. MasteRTriX

    MasteRTriX Member

    Some isp offer access to the website in the form ip/domainname to allow to test the server before changing isp

    something like http://300.200.100.001/domain.com

    Is this possible?

    I managed to do so making ln -s ../domain.com/web domain.com in the sharedip directory in /var/www

    I was wondering if we can make it with mod_rewrite, but if not where should I add this line in ispconfig?

    Thanks for this great control panel
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. MasteRTriX

    MasteRTriX Member

    Sorry to be bothering with this again, but I have clients who request this feature, what I´ve done is to add a wildcar to my primary domain dns *.mydomain.com pointing to my ip address, and then the clients who need this feature I add in the httpd include a "ServerAlias client.mydomain.com" and seems to be working just fine.

    Anything to be aware of doing this?

    Thanks in advance.

    Another thing that crossed my mind is to use a php proxy script and mod_rewrite to access domains (previously checking in the proxy that the domain is local to avoid being used as open proxy)
     

Share This Page