Show server IP instead of * without assigning it to Clients

Discussion in 'General' started by Csedwik, Feb 9, 2025.

  1. Csedwik

    Csedwik New Member

    Hi everyone!

    In ISPConfig, when creating a website, the default VirtualHost IP is set to *. I changed the setting so that the actual server IP appears instead (System -> Server IP addresses -> webserver conf -> HTTP NameVirtualHost checkbox).

    However, now clients cannot save a website unless the IP is explicitly assigned to them as an owner. In ISPConfig, an IP can only be assigned to a single client at a time, but I want all clients to see the actual server IP in their panel so they know where to point their domain records.

    I don’t want them to see *—I want the real IP to be displayed without requiring manual IP assignment per client. How can I configure ISPConfig to achieve this while keeping the IP usable for all clients?

    Thank you.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    That's not the case. An IP is assigned to all clients by default, unless you choose to assign it to a specific client. So, all you have to do is to go back to IP settings and unassign it again.
     
  3. Csedwik

    Csedwik New Member

    I know that if no owner is assigned to the IP (client ID = 0), it should be available for everyone. However, when I remove the IP owner, clients are still unable to create a website using the IP and can only select * then they can create a website.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Then you probably disabled the "HTTP NameVirtualHost" checkbox in the IP settings. By disabling it, you disallow this IP for websites.
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Btw. it is not recommended to use the IP in websites unless you have a dedicated IP for each website; as soon as you have more than one website for each IP, better use * for all sites and do not add or enable IPs. If you have more than one site for each IP, then your users can not reach the sites by IP anyway.
     
  6. Csedwik

    Csedwik New Member

    Somehow it's working perfectly now—I have no idea why it didn't work initially.
     

Share This Page