subdomains and folders

Discussion in 'General' started by crmaykish, Nov 24, 2006.

  1. crmaykish

    crmaykish New Member

    I am running a server with ISPConfig. I have two ways of accessing it. I can use my no-ip account (crmaykish.no-ip.org) or I have set up DNS on my domain name so that home.techbycolin.com also points to my server.

    I have read in other posts, that when setting up a site, the hostname is crmaykish and the domain is no-ip.org. Now, why does this create a folder called crmaykish.no-ip.org in my root directory? How can I set up either a http://something.crmaykish.no-ip.org or a http://crmaykish.no-ip.org/something/ as the way to access the website.

    Thanks,
    Colin
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. crmaykish

    crmaykish New Member

    Okay,

    I created new a site. Hostname is crmaykish and domain is no-ip.org. I left the DNS stuff unchecked. The ip address of my machine is 192.168.1.77, but if I choose that, I get the shared IP page. So i chose 192.168.1.105.

    I then SSH in and create a a dir /var/www/crmaykish.no-ip.org/web/colin.

    I made an html file in there, but i cannot access it. from http://crmaykish.no-ip.org/colin/. I get a 404.

    I can access it from http://crmaykish.no-ip.org/crmaykish.no-ip.org/web/colin/.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Make sure that crmaykish.no-ip.org is a DNSA-Record pointing to your external IP address and not some type of HTML rdirect. Also you must chsoe the IP for the website, where you forwarded port 80 from your router to.
     
  5. crmaykish

    crmaykish New Member

    Excellent. It's working now. I appreciate it.

    Thanks! :)
     

Share This Page