Hosting Multiple Sites On The Same Hosting Account. Getting A Weird Redirect
Oct 26, 2009
I have about 5 sites all hosted on my same hosting account. One of those domains is attached to the hosting account. I place my other domains in a folder of a sub-directory of my main domain. This has been working fine, up until today when i noticed a weird error. I give you a little example of how my sites are setup
my main domain:
My other sites hosted in a sub-directory of my main domain:
How my other sites appear on the web:
This works fine for every page until i go to www.site2.com/index.php
It redirects to www.maindomain.com/sites/site2/index.php for some reason
I am trying to determine the best design approach for this business need.
There are multiple URLs:
[url] [url] [url]
The URLs are going to be specific to a topic but the displaying of the pages is template based. For example, there is 1 JSP page that will display the content for a topic based on an ID.
[url]is ID 1 in my database table. [url]is ID 2 in my database table. [url]is ID 3 in my database table.
So I could do a form post to display the specific content for a topic.
Code: <form name="frmTopic" action=”/topic” method="Post"> <input type="hidden" name="topicID" id="topicID" value=""> </form> So by populating the topicID and posting this form, it directs to my JSP page and displays the content specific to the topic ID. So if I pass 1, content about cats is displayed. If I pass 2, dogs and 3, birds.
I want to keep the URLs specific to the topic but I do not want to pay for hosting for each site since the only difference from one site to another is 1 page. The 1 page is the page that tells the JSP page which topic to display (I realize I have to hard code the ID number after I add the topic to the database).
Here is my question.
Is there a way I can have a specific index.htm page for each site [url]with one hosting account (I am using GoDaddy)? Then I could have this page redirect to the template JSP passing the ID. I could then put very specific items about the topic on this page to hopefully improve its page rank in search engines.
If this is not possible, I could create an initial JSP page that checks the ServerVariable for the specific URL and then passes the ID… something like this:
I am looking for feedback on the best approach so if there is an option that I have not listed that is better, please let me know.
I am just wondering what is normal when you point a domain name to a folder on an existing hosting account, as far as the urls in the address bar go?
I have my own website which has mega space, and my host allows up to 5 domains to be hosted in folders...so I thought I'd host b/friend's new website there.
His site is a WordPress installation.
I pointed the A record of his domain name to my hosts ip address , and it resolved fine. However, when I click on any of his articles, the full url of mysite is displayed in the address bar of the browser, which I don't want.
I've never tried to host another site on mysite before and just wondering what is normal as far as urls go? I'm thinking I've either missed a step somewhere, or it's a WordPress thing, or a host thing, or it's normal and I'm wasting my time trying to find a fix.
The ideal situation would be that the full urls of his_site are showing in the browser address bar.
I have a little question that I'm sure somebody more knowledgeable can answer. I had a hosting account with GoDaddy that just hosted my web site only. I had a few clients need hosting at the same time so I looked into upgrading my account to one that would host multiple domains. (this is my first time with multiple clients, can you tell?) I thought perfect! I can host all of my clients accounts from this one hosting account. I thought there would be multiple account interfaces to support this.
So when I get in there, it lets me add one of the domains I was working on and then I went to upload the files and apparently I had to upload the file to a directory off of my site. So newsite.com points to mysite.com/newsite.
I uploaded it just to test it out and when you go to newsite.com it shows in the address bar as newsite.com, not mysite.com/newsite, even though that is the directory path. I'm sure there's a name for this but I have no idea what it is so I wanted to explain my issue clearly.
So, I'm wondering, is this kosher? Is this bad to do or do a lot of people do this and will it affect my site? From what I've gathered so far, people only do this when they have multiple domains pointing to the same site, or am I wrong?
i have about 80 domains with godaddy and about 30-40 with 1and1. i have two hosting packages with 1and1 a "home" package and a "business" package. i have a main site up on the business package right now. the home package has tons of files from an old forum that really could just be wiped out.
My question is that i have a few sites being developed right now. 3-4 to be exact, can i host them all on the same package? i want each to not be a sub of anything. What do i do? Calling tech support yielded worthless answers. Do i need a different type of account?
I am interested in your suggestions as to what I should do. I need a setup that will allow me to host several sites. They are mostly my own and low traffic. I do not offer hosting to any other folks, if so, i will set the sites up myself. I need mysql, email and virus checker, php, and firewall. I would like unix/linus hosting and am used to cpanel. Would prefer east coast hosting since many sites pertain to local areas there. I was thinkg of a reseller or webmaster package.
Well i design websites for people and they ask where should i host the site and i can get email and ftp and a cpanel and so on and i just let them host it on my account on free web hosting provider but i currently have 1 site hosted on my server which is running on windows server edition 2003 and it gives me the option to add another website how would i do that using the same ip?
For hosting smaller sites 10-20 pages with low niche traffic would it be better to host them individually on small hosting plans or would it be to your advantage to host themt together on a dedicated server?
who host ~20-30 doorway sites in his reseller account.
The main question is, that i don't know, does "doorway sites" illegal, do they restrict any rules, TOS? (webhosting business isn't my main business, so i'm newbie in this area)
There insn't anything abnormal in his sites. main page it's like sitemap, where are lister links to secondary pages (html static pages). when i click on this links, i redirected to other sites (PPC, another sites don't hosted on our server, etc)
if it's illegal, i'll ask to move to another host, if no ...
Hi I've never worked with a dedicated host, and I was considering going with hostgator, because they provide managed hosting and cPanel, which I'm fond of.
This is not for my own sites, but for someone I work for as a programmer/webmaster. He has asked that I make the decision on this, even though I've basically advised against it, due to my lack of experience with dedicated hosting.
I've also looked at lunarpages, doesn't seem to be much different than hostgator. Here are links to their pages...
Does anyone have experience from either of these? I don't think the sites hosted on the server are going to be particularly high bandwidth sites (I don't really think they even need a dedicated host) ... do you think we'll be okay with a single 2.8 Ghz processor?
Also, does anyone have any advice as far as the number of sites hosted on the server? He wants to move ALL of them to the same server. Any thoughts on whether or not this is a good idea?
I know I've asked a lot here but I'm really getting into new territory. If you can provide any input on ANY of the above items, I'd greatly appreciate it.
I am looking for a Canadian host who necessarily have their servers in Canada who offer dedicated hosting and who hosts adult sites. I don't have anything particular specifications as of now since my sites are overall small (1k/day).
I say relative, because I have built several websites in the past, going back to 1998 or so, but have never really pursued it heavily, and only recently have decided to get into the game on a more proactive scale.
In searching for a web host, I run across common TOS which seems on the surface to exclude what I want to do, which among other niches I've got in mind, include investing (gold, real estate, forex, commodities, etc.).
Maybe some of the hosting vendors here can help me with clarification. I do not want to host an investment platform, like a stock or forex trading platform. I just want to publish info sites with affiliate links to the investment products I deem worthy.
Any problem with that? If so, does anyone know of good hosting for such sites?
I've perused many hosting forums lately and find this one to be among the top of the top! Good job WHT owners!
I work for Microsoft. Used to be a regular participant on Web Hosting Talk a few years ago (then moved over to Europe at that time). I've been doing some work recently that has led me back to the community here to ask for some input on where administrators of Windows-based hosting services go to find technical information.
How often might you use the following two Web sites?
1) [Hosting Solutions on TechNet]
2) [Windows Hosting Discussions]
I've just re-registered a new account so I have to do the five post thing before I can insert links, otherwise I'd to a direct link to the two above. If you're not familar with them, just do a Web search for those phrases and the sites will be at the top of the list.
Are there other Web sites that you use regularly for technical information on operating Windows hosting services? Or do you mostly just enter a phrase in Google and temporarily use the Web site/s that come up in the search results?
I am looking for a multiple IP hosting solution for our network of 10 sites. Ideally I'm hoping to find a host which will allow me to consolidate all of our sites within one control panel, but be able to offer each site to be hosted on a unique class-c IP so that we can enhance the benefit of inter-linking between sites.
If you can suggest a solution beyond www.seohosting.com that would be fantastic.
If you have current experience with hosting Gallery2 photo sites, please give us your opinion on hosts.
Gallery2 is PHP and MySQL based.
I am looking at a few customers (schools, sports groups) who would eventually have 2 to 5 GB of photos, but fairly light hits (Students, Parents, Friends). This would not be a NFL site! But responsiveness is relatively important.
Medium-cost (Say up to $15/M) shared hosting probably? Looking at maybe Hostgator, HostMonster, A1WebHosting. Your experiences/suggestions would be greatly appreciated!
My current site on (!PowWeb) is passable, but I want these sites ElseWhere...