DNS Help

Discussion in 'Installation/Configuration' started by jacobhenry, Mar 16, 2006.

  1. jacobhenry

    jacobhenry New Member

    Ok, i finally got my domain name pointing to my ip address, but now when i try to type domain:81 I get a "Failed to connect". Before I change anything I want to make sure i fully understand. I have a domain name that I want to use for a website and the ispconfig admin. I thought I would be able to use the domain itself as my website (the domain is curently pointing to my apache page) and domain:81 as the ISPconfig interface. Is this possible? When I use IP:81, I am directed to the ISPconfig login screen. Once inside ISPconfig, I can see links calling to mydomain.com:81/path/. Why would it work once I am inside ISPconfig but not initially? I am also having a hard time with my php configuration. I have installed php4 and 5 but the php files in my www folder display the code instead of executing the code. How would I arrange it so my domain displays my website in the www folder and domain:81 is directed to my ispconfig login screen?
     
  2. jacobhenry

    jacobhenry New Member

    Is there anyway I could use a subdomain to lead to my ISPConfig login. (e.g) hosting.domain.com would lead to the ISPConfig login and then www.domain.com would lead toward my website. Is there anyway that is possible?
     
  3. falko

    falko Super Moderator ISPConfig Developer

    Are you in a local network, and is your ISPConfig server also in the same local network?
    When you use the IP address, is it a local IP address then?

    My guess is this: when you use the domain name, the request is going out of your LAN, and either your ISP is blocking port 81, or your router doesn't support loopbacks.

    PHP is disabled globally because ISPConfig enables PHP on a per site basis.
    You must create a web site in ISPConfig and enable PHP for that web site and then upload your PHP files to that web site - then PHP will work.
     
  4. jacobhenry

    jacobhenry New Member

    my router does not support loopbacks, but I have had people try it outside my local network and it does not work for them either. This is why Im confused:

    works ----> http://12.205.45.114/ (sends you to my apache page)
    works ----> http://12.205.45.114:81/ (sends you to my ISPConfig login)
    works ----> http://www.scratchco.com/ (send you to my apache page)
    broken -----> http://www.scratchco.com:81/ ("Failed to connect")

    Why would it work when i use my public ip address but not when I plug in my domain name?
    Any suggestions?
     
  5. falko

    falko Super Moderator ISPConfig Developer

    Code:
    dig www.scratchco.com
    
    ; <<>> DiG 9.2.4 <<>> www.scratchco.com
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5445
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;www.scratchco.com.             IN      A
    
    ;; ANSWER SECTION:
    [B][COLOR="Red"]www.scratchco.com.      43200   IN      CNAME   scratchco.com.
    scratchco.com.          43200   IN      A       69.20.61.27[/COLOR][/B]
    
    ;; Query time: 251 msec
    ;; SERVER: 145.253.2.75#53(145.253.2.75)
    ;; WHEN: Tue Mar 14 08:09:09 2006
    ;; MSG SIZE  rcvd: 65
    www.scratchco.com is pointing to the wrong IP address: 69.20.61.27
     
  6. jacobhenry

    jacobhenry New Member

    It must still be populating. I set it up last night. Sorry to waste your time. I will wait until I have everything set up properly before I ask for anymore help.
     

Share This Page