FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Domain issue!!!!1





Aelita
Okay I have a problem..

I have a new domain http://www.animeworkshop.net and it points to my site and all but if I try going to another page it shows http://www.shadowdancer.frihost.net/forum instead of http://www.animeworkshop.net/forums

Why does it do this and how can I fix this?
Animal
Your domain is set up essentially as a re-direct so that when somebody goes to http://www.animeworkshop.net/ the domain redirects the traffic to http://www.shadowdancer.frihost.net/. When a user clicks on a link, they are clicking on a link at the Frihost domain and not animeworkshop.net.

There are two options for you. Firstly, you can log into cPanel or Direct Admin and set up a "Domain Pointer" that directs traffic from animeworkshop.com to your Frihost address. In order to do this, you will need to set your domain name (animeworkshop.net) to use Frihost's DNS servers. These are ns1.frihost.net and ns2.frihost.net.

Your second option is to create a new domain under Direct Admin. Create the domain and call it animeworkshop.net, then move EVERYTHING from the public_html folder on http://www.shadowdancer.frihost.net/ to the public_html folder on the new domain. Again, you will then have to set your domain name to use the DNS servers.
Aelita
Nameservers are already set.. Now I don't understand the part about moving files though. I only see the one public_html directory.. Where is the other one located?
Animal
You need to create it.

If you do not want to use Domain Pointers (you will need to set this up, but it is probably the easiest way to do it) then you will need to create a new domain under cPanel.

Create a new domain called animeworkshop.net and this will create a new public_html folder. You then need to move everything from the public_html folder on your shadowdancer.frihost.net account to the new public_html folder that you've created on your animeworkshop.net account.

Domain Pointers is probably the easiest way to do it though.
Aelita
Okay I do not see the option to create a new domain under Cpanel. I have already made the name server point to frihost.net and I have made animeworkshop.net an addon domain. But i still have this issue where I cannot go anywhere beyond animeworkshop.net without it reverting to shadowdancer.frihost.net... I have had other servers before and this is the first time I have had this error.. How do I log into direct admin and is it different from Cpanel? If its the same I dont need to know, but I do not see the option to add a domain in CPanel
Animal
Aelita wrote:
How do I log into direct admin and is it different from Cpanel? If its the same I dont need to know, but I do not see the option to add a domain in CPanel


You can't log into Direct Admin because you are hosted on Server 1. Server 1 uses cPanel and Server 2 uses Direct Admin.

Unfortunately, I don't use cPanel because I'm on server 2, so I won't be able to give you detailed insturctions to set up a new domain. The option should be under the "Domain Administration" option or similar. There will be an option for "Create New Domain", but this is very different to an add-on domain.

EDIT: You may find this and this helpful.
Aelita
Crap I didn't mean add on I meant I parked the doamin.. If you go to my site you'll see http://animeworkshop.net all th links work the way i want except when you click forums or galley(which is down at the moment..) They only work because I am using a php script to navigate through most links.
Aelita
OKay this is getting irritating now.. I can even log into ftp site using the url animeworkshop.net with the same info as shadowdancer.frihost.net and I havent added any ftp accounts or anything.. i had one person who help me with forums tell me that the url is working for a second forum I have, but not on this forum... why not????? This is getting nerve racking....
Animal
Well, the problem might be your PHP coding then. Is your PHP link sending traffic to http://www.shadowdancer.frihost.net/forum? If so, alter the PHP to redirect to http://www.animeworkshop.net/forum.

Does that help at all?
Bondings
You need to put a slash behind the url if you link to it. http://www.animeworkshop.net/forums/ instead of http://www.animeworkshop.net/forums . This should be working.

You can also do this in a .htaccess file, but that's a bit more complicated.
Aelita
I don't even wanna know why that gay rule exists, but please start explaing how I can do it with that file.. cuz it works bondings..
goodforum
i am able to visit the site...
both
http://www.animeworkshop.net
and
http://www.animeworkshop.net/forums
no problem at all
Aelita
See now if i wasn't in a good mood I'd yell at you.. The problem however isn't getting to view the material on the page.. It's the url that shows up when you visit the page. I don't want it to say http://shadowdancer.frihost.net/forums after I spent money for a url that is supose to say animeworkshop.net/forums click the second link, the one I want, and watch the first link, the one I don't want, magically appear... And Bonding I just did some reading and it appears that those files are considered bad.. so is it possible for you to change the server to automatically do that, please or is there some reason you dont have it do that?
goodforum
Look at it yourself!!!!!!
Aelita
*eyes twitch*

Yes I know you can see the page.. Now click on the forums link and look at the url that appears..... That url is the problem not seeing the page.. and it's not just the links on my page.. Click this link: http://animeworkshop.net/forums and watch the url change to Shadowdancer.frihost.net instead of remaining animeworkshop.net

This is the problem..

Now
Don't you think if you can see the page all these other nice people who have been posting (includig me) could have seen the page and this would have bee resolved a long time ago if it were that simple... But since this obvious answer isn't the answer no one has posted anything about viewing the page other than you.... PLEASE READ FORUM TOPICS AND REPLIES BEFORE SUGGESTING SOLUTIONS!!!!!!!!!!!
goodforum
oh sry about that Shocked
i can only see
http://www.animeworkshop.net
appears as http://www.animeworkshop.net

not
http://www.animeworkshop.net/forums
mOrpheuS
Aelita wrote:
Crap I didn't mean add on I meant I parked the doamin.

Actually that might just be the solution !

I had the same problem once, back when I had a domain as parked.
Then I got another, and put them both as add-ons ... the problem went away !

Try this :
Un-park your domain.
Configure your domain as add-on. This will create a new sub-folder in public_html.
Move all the files currently in public_html into the newly created folder using the cPanel filemanager.
mathiaus
Have you set this domain in the phpbb admin area yet? It should be under genral configuration your domain will be http://www.animeworkshop.net and path, /forums
Aelita
WOOT!!! I was waiting for this answer!!!!!! YOu are the winner of the answer that would be the answer to my problem according to everything I actually wrote this would be the correct solution!!!!!!!!!!!!!!!!!!

Only problem is this isn't the solution.... I think bondiongs is

Explanation of all that craziness I just wrote. The only time my error occurs is when I go into the forums according to what I have posted. so therefore If my seeting in there were wrong it would explain my problem.. I was wondering when someone would catch that, but it's actually not my problem though. Theres something wron with the way the domains are set up to run on this server is the prblem.. But oh well I'm going to try the addon way and see if that works unless Bonding is willing to change the root server configuration to make it work right...
Bondings
You should be able to do it in a .htaccess file yourself. I couldn't find the exact code, but daniel15 once posted it somewhere here.
Aelita
yeah i know I can do the .htaccess file by myself, but I was reading around trying to find the code on the net and a lot of places were saying that is bad to use those files, because

1) When they are activated theserver has to lok in every parent folder for the file to make sure it's not there (even if you don't use them)

SO.. that means if you request http://yourdomain.com/folder/downloads/file.php
its going to look in downloads for the file, in folder for the file, and in the root of your account for the file...
That slows down the server, and uses more bandwidth...

So nevermind it would probably cause problems with other people if you turned off the .htaccess files and did the required editing at the server root to fix my one problem... I'll try the addon thing and if not I'll just do the .htaccess file..

Thanks for all the responses!!!!!
Please leave topic open until tomorrow in case i still have a problem
mathiaus
Well it now seems to be working (for me at least) although if you want to only use your full domain place this in your htaccess(root directory)
Code:
RewriteEngine on
Options +FollowSymlinks

RewriteCond %{HTTP_HOST} !^animeworkshop\.net [NC]
RewriteCond %{HTTP_HOST} !^$
RewriteRule ^(.*) http://www.animeworkshop.net/$1 [L,R=301]


If you decide to later use a subdomain for the forum use this code in your htaccess in your forum directory
Code:
RewriteEngine on
Options +FollowSymlinks

RewriteCond %{HTTP_HOST} !^forum.animeworkshop\.net [NC]
RewriteCond %{HTTP_HOST} !^$
RewriteRule ^(.*) http://www.forum.animeworkshop.net/$1 [L,R=301]
Bondings
Uhm Aelita, most people use .htaccess files as a lot of CMS's use them. It's not really a problem. They do slow down the server, but not much. Maybe 0.01% in this case as it's just a redirect.

I also don't know what you mean by activating the .htaccess files. They are already activated and a lot of things like password-protected directories, frontpage, redirections and similar things wouldn't work without them.

What actually happened is that the server internally redirected to the subdomain. Nobody notices this, so it isn't a problem. However, something went wrong because you used a 'wrong' url and the server fixes that url but forgets the real domain name. If you use a .htaccess file, it will use the right fix for the directory, what you exactly want it to do.

Also, if I would change this at the server level, then it would also cause problems because other hosts have the same configuration. If you would move your website to another server, you would most likely encounter the same problem. With a .htaccess file, you wouldn't.
Related topics
Reply to topic    Frihost Forum Index -> Support and Web Hosting -> Web Hosting Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.