Issues with creating a website

Discussion in 'General' started by coyote39, Feb 6, 2012.

  1. coyote39

    coyote39 New Member

    I'm sure this subject has been beaten to death, and I have tried my very best to follow the ISPConfig manual, but I can't seem to figure out how to do what I am trying to do with my server.

    I am trying to create websites on my server. The domain names are registered through no-ip.com because I have to use redirects to port 8080 (my ISP blocks port 80), and the ip address is dynamic. The domain names (we'll call them website1.us and website2.com are registered and pointing to my external ip (we'll call that 11.22.33.44 ) and forwarded to port 8080 (which is not blocked by my ISP). My router is port forwarding all traffic coming in on 8080 to 80 on the server. This is confirmed as I can hit the server externally using the domain names listed on no-ip.com. However, I hit the generic index.html which is located in the /var/www/ directory on the server.

    When I try to set up the website in ISPConfig3, I am following the manual and tutorial located here: http://docs.ispconfig.org/creating-web-sites/

    When I set everything up (whether under a dummy client or not), and try to connect externally, it is still sending me to the default index.html located under the /var/www/ folder. Can someone please help a total noob and tell me what's going on and what I need to do to fix it?

    Thank you in advance for your time and patience in this matter.
     
  2. mrbronz

    mrbronz Member HowtoForge Supporter

  3. coyote39

    coyote39 New Member

    Thanks for the response. It seems that we are quite similar setup-wise, but I must be missing something here.

    I tried to follow that post as well, but still wasn't having any luck.

    When you set yours up, did you set up any DNS zones, or did you just add the website since no-ip.com is your dns service? I think the problem for me lies somewhere between no-ip and the dns zones on ISPConfig. Just so maybe you can compare, on no-ip.com i have the domains set up like this:

    Domain#1: website1.us

    Hosts:

    website1.us IP: 11.22.33.44:8080
    ftp.website1.us 11.22.33.44:8080
    mail.website1.us 11.22.33.44:8080
    www.website1.us 11.22.33.44:8080

    Domain#2: website2.com

    Hosts:

    website2.com IP: 11.22.33.44:8080
    ftp.website2.com 11.22.33.44:8080
    mail.website2.com 11.22.33.44:8080
    www.website2.com 11.22.33.44:8080

    Each host is set up as a Port 80 redirect (I have to do this as my ISP blocks port 80).

    I am trying to set up the server, so that each domain name points to its own website, which I am trying to create (unsuccessfully) in ISPConfig.

    Honestly, I don't know exactly where the problem lies, and admittedly - I'm pretty much a noob at this. If someone can help me out, I would greatly appreciate it. Thanks in advance for your time and effort in teaching me.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Ensure that you selcted the internal and not external IP in the website settings for the site sin ispconfig. If the Ip does not show up there yet, add it under system server IP.
     
  5. mrbronz

    mrbronz Member HowtoForge Supporter

    No I did not set up a DNS

    For the site to work with no-ip all you need to do is create a host in your no-ip account. and USE THE IP ADDRESS of the server that the site sits on. when creating the site
    The only 2 bits of info you really need are the Domain and the IP address

    ispconfig3.jpg

    If the IP address is set to '*' it wont work you must add the IP address as stated a few posts up

    Let me know if this helps
     
  6. coyote39

    coyote39 New Member

    I knew my issue was with the DNS zones. Once I deleted the zones and just used the local address for the websites as posted above, I could hit the site. Thanks to all who took the time to help and answer.
     

Share This Page