Current time: 11-16-2019, 08:29 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Use Diffrent Domain For dashboard & test
09-29-2016, 08:38 PM (This post was last modified: 09-29-2016 08:39 PM by rasam25.)
Post: #1
Use Diffrent Domain For dashboard & test
Hi

<VirtualHost *:80>
ServerName http://www.domain1.com
RewriteEngine On
DocumentRoot /home/pagetest/
<Directory /home/pagetest/>
Options Indexes FollowSymLinks Multiviews
AllowOverride ALL
Order allow,deny
Allow from all
</Directory>
</VirtualHost>


<VirtualHost *:80>
ServerName http://www.domain2.com
RewriteEngine On
DocumentRoot /home/pagetest/
<Directory /home/pagetest/>
Options Indexes FollowSymLinks Multiviews
AllowOverride ALL
Order allow,deny
Allow from all
</Directory>
</VirtualHost>


Above are my host entries
Now both Domain use to access dashboard to run test
I want to dashbaord will be visibale only to one domain
like client can get & receive test to http://www.domain2.com but when i type http://www.domain2.com in browser dashboard should not visible
i will use http://www.domain1.com to enter url

what port use to transfer files ?
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)