cPanel subdomain question

Discussion in 'Apache' started by johngalt192, Jun 21, 2007.

  1. #1
    We have a website that is hosted on our IIS web server (e.g. www.domain.com). We need to create a subdomain hosted on our Linux server, which is using cPanel. (e.g. sub.domain.com)

    So we have the primary domain setup in cPanel, with the DNS address pointing to the ipaddress of our IIS server (e.g. 127.0.0.1).

    Now we need to have the subdomain website active on our Apache server (e.g. 127.0.0.2).

    I created a subdomain using the cPanel interface. It properly created a new directory under the primary domain directory on that server. But whenever I try to pull it up in a web browser it displays 'There is no website configured at this address'.

    I'm not real familiar with Linux/Apache, we're strongest with Windows/IIS and use cPanel mostly for DNS, email, etc. I've tried to figure out what the problem is, but my experience is limited here.

    Since everything appears to be configured correctly, the only thought I have come up with is that perhaps it's causing a problem because the primary domain (www.domain.com) doesn't actually have an active website on the Apache server. So the virtual (domain.com/sub) doesn't work.

    Of course, I really have no idea what I'm talking about when it comes to Linux/Apache, so any help would be appreciated. Does anyone have any ideas?
     
    johngalt192, Jun 21, 2007 IP
  2. syedwasi87

    syedwasi87 Active Member

    Messages:
    2,147
    Likes Received:
    59
    Best Answers:
    0
    Trophy Points:
    90
    #2
    from your post i am assuming you need to create a new sub domain like

    www.xxx.domain.com rite?

    then what do you mean by this

    domain.com/sub thats a different sub directory of the root domain.com

    or do you want the sub domain to be redirected to another directory?
     
    syedwasi87, Jun 21, 2007 IP
  3. johngalt192

    johngalt192 Guest

    Messages:
    43
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    We were hoping for xxx.domain.com, but we'll gladly accept www.sub.domain.com if it's easier.

    By domain.com/sub I mean the directory that cPanel created under the parent domain directory, e.g. domain/public_html/sub
     
    johngalt192, Jun 21, 2007 IP
  4. purdue512

    purdue512 Well-Known Member

    Messages:
    858
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    108
    #4
    I know this thread is a little old, but I'm facing this exact same issue. Did you get the Linux server sub-domain under IIS to work? My issue is that I'm out of public IP addresses, or this would be easy. I need for it to sit under my main domain, same as was posted.

    Many thx.
     
    purdue512, Oct 14, 2007 IP