Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 14th April 2009, 03:05
jamesls jamesls is offline
Join Date: Apr 2009
Posts: 33
Thanks: 1
Thanked 0 Times in 0 Posts
Default 403 error Forbidden - ubuntu 810 and ispc 3


I've just installed ispconfig 3 by following the perfect server how to. I did it for ispc 3 this time
Everything installed well and it appears to work, I'm guessing I'm doing something wrong or else I've missed something in the configuring web sites from within ispc3.

I set up a client - victim6, and went through the setup, I didn't do anything in the dns section as I'm not sure about dns, I'll figure it out or ask later. I did the cllient ticked all the boxes and left the quotas page all set to defaults, setup the email, and the web server I gave the domain as "victim6.co.co" just to test it and see what happened.

when I try to view the page I receive the 403 error.
I typed
if I type I get "It works!" from the default apache install

I can see a client folder off /var/www/.... /web1/web/, and that contains the index file so I figure isp3 is working.

Any help much apreciated

Reply With Quote
Sponsored Links
Old 14th April 2009, 06:21
jamesls jamesls is offline
Join Date: Apr 2009
Posts: 33
Thanks: 1
Thanked 0 Times in 0 Posts
Default Solved [part of the problem

I read the bit about adding
your ip address to the apache available sites conf file

I did that and the 403 forbidden msg has gone, and I get the web page, then I set up another web site using the same client, now it seems to default to the second site and I can't view the first.

I was under the impression Apache sorted out the names, I played around with ispconfig 2 a while back and don't remeber having to enter DNS records like A records and name servers ???

At the moment the only way I can access the web site is by typing in the ip address, or if I add the domain name to the end it just give me a 404 error.

If I'm on the web server machine what do I type to see the domain page?
Reply With Quote
Old 14th April 2009, 07:22
jamesls jamesls is offline
Join Date: Apr 2009
Posts: 33
Thanks: 1
Thanked 0 Times in 0 Posts
Default I think I need to set up the DNS parts

I found the following threads about dns setup
DNS Thread

points to 1st site

I'm now thinking I need to sort out the DNS parts to be able to access the web sites, its late here so I'll play tommorow.

If I'm doing it wrong someone let me know please
Reply With Quote
Old 14th April 2009, 14:51
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts

Yes, ISPConfig sets up name-based vhosts, so oyu must access the web sites by their name, not by the IP address.

For testing purposes, you can simply modify the hosts file on your client computer: http://www.howtoforge.com/forums/sho...s+file+windows
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Old 15th April 2009, 00:17
jamesls jamesls is offline
Join Date: Apr 2009
Posts: 33
Thanks: 1
Thanked 0 Times in 0 Posts
Default We have a winner :)

Well it works for web browsing YESSSS!

And suprisingly simple.

From what I've read ISPConfig 3 sorts its own names and stores them, you don't do anything to your hosting systems dns files.

Here what I did after installing the software
create cleint the web site I called victim7.vx

email - just added client, and entered the domain name "victim7.vx"
Add site selected client, then added domain "victim7.vx"
DNS .. select client, zone "victim7.vx", NS "ns1" and gave it an email "admin.victim7.vx
Records select A, hostname "victim7.vx.", ip "" (the ip of my host pc)
Select A, hostname "mail", ip ""
Select A Hostname "ns1" ip ""
Select MX hostname "victim7.vx.", mailserver "mail.victim7.vx"
Select NS zone "victim7.vx", hostname "ns1.victim7.vx."

I did this with 3 different sites vitim6 7 & 8 and they are resolved by their names in a browser, I'm not sure about the email side yet LOL

A couple of things to note
1. you have to put a full stop (period) at the end of the site names when entering the records.
2. I did this on my home network hence the ".vx" extension, as there is no dns server on my network to resolve the names I had to point my other windows machines to my web hosting pc by altering the hosts files on each of them.

my hosts file - c:\winnt\system32\drivers\etc\HOSTS has the following lines added. victim6.vx victim7.vx victim8.vx

Normaly if the domain is on the internet then a dns machine gives you the ip address to look at

my web server, is ubuntu 8.10, and the only thing I altered was the ip address for my wired network and thats, the only place I had to enter the host pc's details was in the server config I think, and thats showing
ip address
gateway (I have 2 network cards, 192 = wireless internet, 10. = wired home network
hostname dell.glaceb.com
nameservers & (not sure about these .1 is my router and .2 doesn't exist.

This works ok for me and resolves the web sites, next job for me will be the email....hope it helps someone. use the dns links in a previous msg

Anyway time for a coffee

Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 21:49.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.