I have just tried to forward a domain name to a domain hosted on my home server. First time I've tried this. I get apache message "You don't have permission to access / on this server." when I try to goto the domain being forwarded.
Anyone got any ideas how to stop that from happening. I guess its an apache conf setting but haven't a clue which. Domains are hosted at 123-reg and I just specified non framed web forwarding to domain on my PC.
I don't think its user permissions. I tried setting to admin and no difference. I'm running on W2K. The site being forwarded to works fine. The request tries to access my server but it looks like it is using the domain that is being forwarded and not the domain it is being forwarded to.
no that wasn't the problem. I think I have some problems with my apache conf file which has worked fine till now but I had never tried anything clever with it. But now I try this simple web forward and it doesn't work. To get around it cos I don't understand the myriad of apache directives, I have put the old domain back into my conf file and used a redirectmatch to send it to my new domain. This works on a test domain and should work when my new domain has dns propogated fully.
Thanks for help anyhow.
p.s. one reason the forbidden message is what you get if you set indexes to -indexes so that directory listings aren't shown. I think the redirect may not have been pointing where it should have been but problem solved for now.
I'm wondering if or how I should set my hosts file on w2k. I had to include my domain for hmailserver and originally set it to 127.0.0.1 same as localhost. I also set my other domains in hosts file using 127.0.0.1 and they work from apache OK. But I'm wondering if they should really be set to my dedicated IP number which have something to do with original problem I had?
Any clues on what IP I should be using in hosts fie and whether I even need hosts records for my other domains?