×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

2 websites on one hosting account

2 websites on one hosting account

2 websites on one hosting account

(OP)
Excuse me... but I'm somewhat lost. If someone could point me in the correct direction I'd appreciate it.

How does one host multiple websites on one hosting account. The web host is iPower Pro Plan which says you can have multiple domains on the account. Do I need to do something with the .htaccess file???

Thanks in advance

RE: 2 websites on one hosting account

Most hosts provide control access via Control Panel. Start there, and if it isn't obvious, try the host FAQ page or their support system.

If you want the best response to a question, please check out FAQ222-2244: How to get the best answers first.
'If we're supposed to work in Hex, why have we only got A fingers?'
Drive a Steam Roller  

RE: 2 websites on one hosting account

Yes, you can do that with a few different methods.  The one that works best will depend upon your specific situation, such as what you are using to build your sites.

With the drupal cms, using one .htaccess file in the www/htmlpublic root, and then another .htaccess in each drupal site's folder works well for me.

There is lots of info out there about the .htaccess file, how to use and all of that.  My suggestion is to do your research, take your time, and don't get frustrated.

Here's one site I've found that had some good info (for my situation) - not sure whether it'll help you or not:
http://corz.org/serv/tricks/htaccess2.php

But there are other sources out there as well.  I know I've found a lot of info (some useful, some not - for me) on the drupal.org forums as well.

I'm assuming that since you're mentioning the .htaccess file, that you're using some dynamic, apache/php based tools to build your sites.  If not, if you've got static html sites, then you might want to just work out a quick forward/redirect using your adminitration pages (cpanel is quite common, some hosts, such as 1and1 has their own user interface)

Another thought is to work through your domain registrar, possibly.  It depends upon how much control you want over how the link shows up, and all of that.  If you're using apache, and can use .htaccess, then I think you'll end up with more control.... but of course, you can break it more easily as well.  Once you do find something that works for you, BACK IT UP somewhere other than your web server... from reading some folk's posts, I'd say make sure its' backed up to at least 3 locations - makes sense to me.

And also, if you do any manual editing of your .htaccess file, be sure to document how you did what you did, why you did it, and where you go the info from, at least that's what makes sense to me.  That way, if you want or need to change it later, you may leave yourself some breadcrumbs along the way towards getting it done more quickly.
 

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close