Local Website Url - 403 Forbidden

Discussion in 'Installation/Configuration' started by Salital, Aug 5, 2011.

  1. Salital

    Salital New Member

    Hi Guys,

    I'm a newbie about knowledge of Ispconfig and how to configure it and I'm tryng to understand about DNS, Redirect, Cname MX Record and all about a webserver configuration. I'm searching on the forum but don't find an answer to my question for this reason I hope you can help me to figure out my troubles

    But my question is maybe simple for a Member Senior of this community or for everybody else that know much more than about Ispconfig


    When I go on the local URL of the the website that I create but It doesn't work

    I tryed also

    and it doesn't work too

    I installed the Ispconfig 3 on the last Perfect Server Debian Squeez (3.0.3) on my home webserver when I digit the local URL of the Ispconfig everything go ok and I can access like Admin

    1. I Create a User

    On the CLient Tab create the Client: ciao

    2. I Create a Website

    I create a website I wish run a Ruby or a Ruby On Rails Website but now nevermind if now it doesn't work I want view in the website a simple .html file to understand that it works

    Server: server1.mywebsite.com
    Client: ciao
    IP-Address: *
    Domain: mywebsite.com
    Harddisk Quota MB: 100 MB
    Traffic Quota MB: -1
    Ruby: CHECKED
    Own Error-Documents: CHECKED
    Auto-Subdomain: www.
    PHP: Disabled
    Active: CHECKED


    in the /etc/apache2/sites-enabled directory I have 5 files

    000-apps.vhost -> /etc/apache2/sites-available/apps.vhost
    000-default -> ../sites-available/default
    000-ispconfig.conf -> /etc/apache2/sites-available/ispconfig.conf
    000-ispconfig.vhost -> /etc/apache2/sites-available/ispconfig.vhost
    mywebsite.com.vhost -> /etc/apache2/sites-available/mywebsite.com.vhost

    the last file inside mywebsite.com.vhost have the follow quote maybe is important to know

    TIP:on the MONITOR Tab on the Admin Ispconfig Panel I read

    Status of Services (Server : server1.mywebsite.com)

    Data from: 2011-08-04 17:40

    Web-Server: Offline
    FTP-Server: Offline
    SMTP-Server: Offline
    POP3-Server: Offline
    IMAP-Server: Offline
    DNS-Server: Offline
    mySQL-Server: Offline

    maybe this could be useful to understand why it doesn't work

    bye & thanks

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Thats all fine and the error shows that your system is working correctly. You canm not access a website folder trogh the IP address, if that would be possible, everyone would be able to hack your server easily.

    To access a website, enter the webite domain in the browser. In your case, open a browser and enter:

  3. Salital

    Salital New Member

    Thanks Till for the answer

    Then I have to set up my home webserver for an internet access?

    I recorded mywebsite.com on Godaddy.com I have to look the follow page:


    to set up my home webserver to access mywebsite.com opening a browser?


  4. falko

    falko Super Moderator ISPConfig Developer

  5. Salital

    Salital New Member

    Hi Falko,

    I have a linux box with Debian Squeeze (last stable version)

    If I want an internet access to my home webserver I have to read this?


    sorry If I repeat the question but I don't understand your answer


  6. falko

    falko Super Moderator ISPConfig Developer

    You must create DNS records on the authoritative name servers for your domain. These can be your registrar's name servers or your ISPConfig servers or any other server. You can find these out by running
    dig ns yourdomain.com
    If your ISPConfig name servers are authoritative, you should take a look at this guide: http://www.howtoforge.com/how-to-ru...and-secondary-with-ispconfig-3-debian-squeeze

    For testing purposes (if you don't want to change DNS records), you can modify your client PC's hosts file.
  7. Salital

    Salital New Member

    Hi all,

    I have now two questions and I try to answer to second one If this is no correct I apologize in advance

    1. If I want to use Ispconfig and I registered the websites on Godaddy to redirect on my private home websever I need two ip-address?

    2. I don't have two ip-address and I register the website on Godaddy I can't use Ispconfig?

    If the answer at point 2 is yes then I can use Ispconfig to use a website registered on Godaddy with only an ip-address I have to simply follow these following steps:

    a. Create a DNS RECORD from the back end of Ispconfig (I don't want to change DNS records)

    Template: Default
    Server: server1.mywebsite.com
    Client: client1
    Domain: mywebsite.com
    IP Address: <IP-ADDRESS of the website. ping www.mywebsite.com>
    NS 1: ns1.mywebsite.com
    NS 2: ns2.mywebsite.com
    Email: [email protected]

    b. I modify my client PC's hosts file.

    In my home webserver I have 3 host files


    I decided to change /etc/resolv.conf (why? 'cause I red nameserver in it)

    # Generated by NetworkManager
    nameserver, ns1.mywebsite.com, ns2.mywebsite.com

    After I restart my home webserver when I write on the browser www.mywebsite.com I have to see the website that I have on my webserver in the following directory:


    I made the a. and b. changes but I can't see my folder website. I don't have any idea why this solution doen't work

    I'm looking for another solution & bye,

    pd. mybe when here talk about vhost file is this? /etc/apache2/sites-enabled/mywebsite.com.vhost
    Last edited: Aug 8, 2011
  8. falko

    falko Super Moderator ISPConfig Developer

    If you want to run your own nameservers with ISPConfig, then you need two IP addresses. However, it is not required that you use the ISPConfig DNS module - for most people it is easier to use the nameservers provided by their registrar.

    For example, if you use GoDaddy to register your domains, you can create and manage your DNS records from GoDaddy's control panel, and then you don't need ISPConfig's DNS module. Of course, you can still use ISPconfig to create web sites, email accounts, etc.
  9. Salital

    Salital New Member

    Hi Falko,

    first of all thanks for your answer now if I put on my browser the URL of the website:


    point to follow directory


    but I want to point at following directory:


    I don't know if I have to edit a file example: mywebsite.conf at the following file



  10. till

    till Super Moderator Staff Member ISPConfig Developer

    You dont have to edit any config files. If apache points the domain to /var/www, then the dns record and apache settings dont match or you missed to enable the auto subdomain www setting. Please check thet you selected the same IP address in the website settings that you used for the dns A-Record of the domain.
  11. Salital

    Salital New Member

    the website dns record are in Godaddy at Nameservers record and are


    my dns file server on my Apache Home Webserver is

    /etc/resolv.conf and I have the follow code
    # Generated by NetworkManager

    I don't know if my resolv.conf is incorrect

    in godaddy in dns A-Record I have the IP-Adrress of the website (http://www.mywebsite.com) and I can't replace with mine becouse my IP Address is dynamic

    I have a NO-IP website that point to my var/www/indes.html file on my apache home webserver with ISPConfig installed

    I don't know if I describe well which is my problem,


    Last edited: Aug 10, 2011
  12. till

    till Super Moderator Staff Member ISPConfig Developer

    You have to select your internal IP address in the website settings, the one where you forwarded port 80 and 443 to from your router and not the dynamic external IP.

Share This Page