Reputation: 1090
What i have done:
I have installed acquia dev. I created new subdomain named abc
I could access the site url as http://abc.localhost:8082 in my local server.
I could see the folders within folder sites as
I have uploaded the files to my server and exported local database to import to live database.
My questions:
How to access abc.localhost site from the live server now and how to change configurations?
Anyone out there to help me in this. I could explain further for any comments. Thanks in advance.
Upvotes: 0
Views: 535
Reputation: 9572
Typically, your Drupal multi site structure should be as follow
sites/all sites/default sites/example.com sites/sub.example.com sites/example2.com etc...
the URL abc.localhost is a local URL only, so for the live server, you would need to change the directory title to your live server's domain name as seen above.
You could also do the following if you need to regularly update code between your live and local versions
sites/all sites/default sites/example.com -> abc.localhost // You can use a symlink here sites/abc.localhost
Upvotes: 1