how do i set up 2 sites on my single hosting account?

They have: 3 posts

Joined: Dec 2003

Hi,

I have 2 domains that i currently have pointing to the same IP. The only DNS changes i can make are via 123-reg for A and CNAME. These were initially set up ok for my first site, but i have since acquired another domain name which i want to host using the same hosting account.

I have entered the same A and CNAMES for the second domain and this is now pointing at the correct IP after checking with ping.

However, I'm getting a Directory Listing Denied message when i try to view it in a browser. I assumed that both domains would show the same site until I set up some kind of script to redirect.

I've got no experience in doing this at all so it's all completely new to me. Could someone tell me what I need to do to set up a second site? This would include what kind of script i need to point visitors from the second domain to the appropriate directory. I know a bit of ASP.net so if there's a script in that language i could use it would be great.

Cheers in advance.

They have: 3 posts

Joined: Dec 2003

Really sorry - just spotted a post with the exact same question!!

They have: 3 posts

Joined: Dec 2003

Having read it I'm still none the wiser...

He has: 28 posts

Joined: Nov 2003

Look at hotscripts.com. Lots of free scripts you can use.

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

you want the second site to be unique, but not in its own folder, but rather like you have two hosting accounts, right?

What kind of server are you using?

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.