Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : Multiple domains



Threaded Mode | Print  

 Multiple domains (2 Replies, Read 4852 times)
bestb
Group: Member
Post Group: Newbie
Posts: 1
Status:
Hello all

I have problem with ampps using multiple domains.
I have added two domains X and Y both are pointing to the same server I can ping but when I browse to domain x or Y I always get to root of www folder.

I dont really know what could be wrong?
IP: --   

Multiple domains
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Hi,

There are chances that previously created domains may not be proper configure. So keep only the domains which are necessary and make sure all are working.

Try removing all domains, then add them again.


-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack
IP: --   

Multiple domains
W4CO
Group: Member
Post Group: Newbie
Posts: 8
Status:

W4C Technical Support Team
We tried adding domain thru Addon Domain Panel. It reports error 'Error' with loading icon process until we do not refresh page.

It creates the vhost files and addon to the www root, but fails to rewrite on windows system host file

Created domain manually it added, when we checked with AMPPS Manage Domain Panel and Windows Host File entry.

But does not load project properly to the url of installed project. when it is installed on location path E;/AMPPS/www/subdomain.domian.com/project/index.php https://subdomain.domain.com/project

We need to use https://localhost/zesoft.com/qdpm/index.php/users. Get to rid this param localhost prefix.

host file entry
127.0.0.1      localhost
::1            localhost
::*
127.0.0.1      domain.com                  # created manually after failure of rewrite on host file
127.0.0.1      subdomain.domain.com  # created manually after failure of rewrite on host file

E:/AMPPS/apache/config/extra/httpd-vhosts.conf

The current status of C:/windows/System32/drivers/etc/.htaccess

# Rewrite host file
# <IfModule mod_rewrite.c>
# RewriteEngine On
# RewriteCond %{HTTP_HOST} ^www$
# RewriteRule (.*) https://localhost/$1 [R=301,L]
# RewriteBase /
# RewriteRule ^index\.php$ - [L]
# RewriteCond %{REQUEST_FILENAME} !-f
# RewriteCond %{REQUEST_FILENAME} !-d
# RewriteRule . /index.php [L]
# </IfModule>

RewriteEngine on
RewriteCond %{HTTP_HOST} ^agestab\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.agestab\.com$
RewriteRule ^/?$ "https\:\/\/age\.agestab\.com\/" [R=301,L]
RewriteRule (.*) https://localhost/$1 [R=301,L]
RewriteBase /
RewriteRule ^index\.php$ - [L]
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 16, 2024, 2:20 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.023