Hi all,
Can any one help me how I can have two drupal installation as maindomain and subdomain(testing)?
Both installations are having diffrent codebase and diffrent db. My web host is bluehost.

Thanks in advance

Comments

mickh’s picture

I'm relatively new to Drupal, but in a normal webhosting scenario (lets say CPanel) I imagine you'd install the main domain as normal, then create the subdomain in CPanel (which would appear as a directory in your main install), then load your second installation into that directory. Just leave your /sites directory and settings.php in the main installation alone so it knows nothing about the subdomain. Maybe I've missed something, but that's how I'd do it with regular websites.

agusain’s picture

yes this, what i did.
my actual (main) site falls in public_html folder.As public_html>(drupal folders and files (main site))
when i made subdomain (testing), it was created in public_html folder. As public_html>testing
I have put the other site(subdomain) file and folder as public_html>testing>(drupal folders and files subdomain testing site))

When I log into to subdomain i could not but i can see my theme on the home page.

Any idea what i did wrong?

mickh’s picture

What URL are you using to access the subdomain?

What I mean is are you using

http://www.yourdomain.com/testing

or

http://testing.yourdomain.com

?