monova Posted November 21, 2017 Share Posted November 21, 2017 (edited) Hello boys and girls, a little help here please I have installed PS 1.7.2.4 on www.ip65.ro and named the shop "Primary". The shop is up and running with no problem. I enabled Multistore in Shop Parameters / General On Advanced Parameters i clicked Add a new shop and added in the Default group a new one, called "Secondary" I added a new URL to Secondary (www.ip67.ro) So far so good: After that, I logged in www.ip65.ro's DirectAdmin page , clicked on Domain Setup / Add Another Domain The result was this, ip65.ro being the default domain: Went back to www.ip65.ro's admin page and enabled Friendly URL and on Performance page i cleared the cache. Now, when i open www.ip67.ro in browser, i get the default hosting index.html: Aaaaand this is where i'm stuck.. What did i do wrong or what did i miss? Did i not do something? Edited November 22, 2017 by monova (see edit history) Link to comment Share on other sites More sharing options...
monova Posted November 22, 2017 Author Share Posted November 22, 2017 I found out where my problem was. In Direct Admin, to link the second domain to the primary one i needed to go to Advanced Features / Domain Pointers and added ip67.ro as an Alias. That's it The step where I went in Direct Admin to Your Account / Domain Setup and added ip67.ro is not necessary at all so you can skip it. Link to comment Share on other sites More sharing options...
dariodipa Posted April 4, 2018 Share Posted April 4, 2018 On 22/11/2017 at 5:28 AM, monova said: I found out where my problem was. In Direct Admin, to link the second domain to the primary one i needed to go to Advanced Features / Domain Pointers and added ip67.ro as an Alias. That's it The step where I went in Direct Admin to Your Account / Domain Setup and added ip67.ro is not necessary at all so you can skip it. u make work with this ? i have direct admin too, make the same steps and dont work, domain.com create pointer alias "domain1.com" in direct admin and still go to domain.com when i try enter domain.1.com Link to comment Share on other sites More sharing options...
gius3pp3 Posted July 19, 2023 Share Posted July 19, 2023 On 4/4/2018 at 11:39 PM, dariodipa said: u make work with this ? i have direct admin too, make the same steps and dont work, domain.com create pointer alias "domain1.com" in direct admin and still go to domain.com when i try enter domain.1.com It's been a while, but for those who want the solution to this problem, just add the following string in the .htaccess file, after RewriteEngine on: RewriteCond %{HTTP_HOST} !^www\. RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L] Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now