Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : Multiple domains with different WordPress install



Threaded Mode | Print  

 Multiple domains with different WordPress install (2 Replies, Read 1808 times)
olind
Group: Member
Post Group: Newbie
Posts: 6
Status:
I'm moving away from the build in OSX Apache, PHP, MySQL-stack on OSX (since it changes everytime Apple updates anything).

I would like to add an entry for my domains to my hosts-file. I found a feature in Ampps for that and it added the .localhost version of my domain-name perfectly.

I then installed WordPress to that domain and opened the web browser for that domain. It sent me to the root folder instead of the .localhost - folder.

In the long run I would like to have multiple .localhost-domains (~10) to separate folders.

Can it be done? If so - what am I missing?

Thanks!
IP: --   

Multiple domains with different WordPress install
olind
Group: Member
Post Group: Newbie
Posts: 6
Status:
I just tried to solve the problem and found the vhosts-file where there is an entry that seems to make sense (I'm not a pro on this so I can be wrong :))

Code

#DO NOT EDIT, CREATED BY AMPPS

           
#### olalindberg.localhost VirtualHost ####
           

<VirtualHost 127.0.0.1:80>
<Directory "/Applications/AMPPS/www/olalindberg.localhost">
Options FollowSymLinks Indexes
AllowOverride All
Order deny,allow
allow from All
</Directory>
ServerName olalindberg.localhost
ServerAlias olalindberg.localhost
ScriptAlias /cgi-bin/ "/Applications/AMPPS/www/olalindberg.localhost/cgi-bin/"
DocumentRoot "/Applications/AMPPS/www/olalindberg.localhost"
ErrorLog "/Applications/AMPPS/apache/logs/olalindberg.localhost.err"
CustomLog "/Applications/AMPPS/apache/logs/olalindberg.localhost.log" combined
</VirtualHost>

####################################
IP: --   

Multiple domains with different WordPress install
olind
Group: Member
Post Group: Newbie
Posts: 6
Status:
I think I found a working solution to this: https://www.softaculous.com/board/index.php?tid=10437&title=Adding_subdomain(s)

Also looking a bit at this solution that is something I'm trying to get to in the long run: https://www.softaculous.com/board/index.php?tid=10363&tpg=1#p43586
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is December 13, 2018, 9:14 pm.

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