Hosting multiple Websites on my server

Discussion in 'Installation/Configuration' started by mick02, May 20, 2008.

  1. mick02

    mick02 New Member

    Hey folks,

    Apologies if this has already been answered but I've implemented some of the suggestions from previous posts but I'm still unsure of how to solve my issue.

    The problem is that I am hosting 3 different websites. Each of these sites has been registered by the website owners and have their own DNS setups which I have redirected to point to my server.

    The problem I'm having is that when I type in I'm redirected to the "This is a shared IP page" instead of the page that I have set up in ISPConfig.

    I've checked the VHosts file and there is a new entry created for each site.

    What I'm trying to do is make it so when the URL's are typed that they are brought directly to the site that was created usin ISPConfig instead of the Shared IP page.

    Can anyone help me with this?

    I've posted the results of httpd -t below

    [email protected]:/var/www/web5# httpd -t
    httpd: Could not determine the server's fully qualified domain name, using for ServerName
    Syntax OK
    Thanks in advance,

  2. mick02

    mick02 New Member

    A quick update to my posr above. I want to hoat different websites with different domains i.e., and, setting up subdomains is not an option for me unfortunately. Once again, thanks in advance for any help.

  3. till

    till Super Moderator Staff Member ISPConfig Developer

  4. mick02

    mick02 New Member

    I've created a new website for each domain but the problem is that when I type that domain in from a PC outside my LAN then they get the "shared ip" page. I've followed the configuration to the letter but it still doesn't seem to make any difference.
    The problem that I seem to have is that when their DNS passes the request to my webserver then the webserver doesn't know which page to redirect the browser to.
  5. vogelor

    vogelor ISPConfig Developer ISPConfig Developer

    i think, the problem you have is the DNS. your server must have the same IP, the DNS returns.

    For example: if the DNS returns as result of your server must have this IP as IP of the web and so on.

    This means you can use "external" DNS (i am using externat DNS too), but the external DNS mus "point" exactly to your IP

    Hope, this helps...
  6. mick02

    mick02 New Member

    Hey guys,

    I figured out the problem that I was having. The DNS servers that the domains were registered under needed to have an A record added pointing to my server. Once that was done ISPConfig worked like a charm.

    Thanks to all of you that replied.

  7. vogelor

    vogelor ISPConfig Developer ISPConfig Developer

    that's what i said ;-)
  8. mick02

    mick02 New Member

    Sorry, I should have read your post properly before posting my reply!!!

    Cheers though at least that's another hurdle cleared!

Share This Page