ISPConfig 3 Host Header

Discussion in 'General' started by Sawyer Techie, Feb 22, 2018.

  1. Sawyer Techie

    Sawyer Techie New Member

    Hello, I come from more of a Windows IIS background and I'm somewhat new to Ubuntu 16.04 and ISPConfig 3. Here's the issue I'm having. I'm developing a new Word Press website and I don't want to updated the DNS A records IP address until the site is completed. I created an A record with a alias (beta.domain.com) that points to the development site, I've played with ISPConfig subdomain and aliasdomain settings but can't seem to get the site to load as beta.domain.com. It always forwards to domain.com which is the wrong server. In my IIS experience I would go to Host Header and add a domain name and then the site would load with that new domain name.

    Example:
    Production site, DNS A records show domain.com points to 1.2.3.4
    Development site, DNS alias beta.domain.com points to 1.2.3.5 but the problem is that it forwards to domain.com
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Have you created a website named beta.domain.com ? If dns points to that server, the website should just work.
     
    Last edited: Feb 23, 2018
  3. Sawyer Techie

    Sawyer Techie New Member

    The site does respond to beta.domainexample.com on IP 1.2.3.5 but then auto-forwards to domainexample.com on IP 1.2.3.4
     
  4. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Looks like it is the site doing the forwarding. Is the url in Wordpress set to domainexample.com?
     

Share This Page