static ip

Discussion in 'Installation/Configuration' started by jimmie, Oct 3, 2024.

  1. jimmie

    jimmie Member

    how do i set this up in debian 12 for a static ip
    It's our pleasure to assist you. Listed below is the Static IP information for your Spectrum Business Internet.

    Gateway IP: 97.76.140.173
    Subnet Mask: 255.255.255.252
    First IP: 97.76.140.174
    Last IP: 97.76.140.174
    DNS1: 209.18.47.61
    DNS2: 209.18.47.62
    DNS3: 209.18.47.63
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    When you install Debian 12, installer asks for the info you can read form that list.
    If you Debian 12 is already installed and running, you need to edit configuration files to enter that information. See for example
    https://www.howtoforge.com/tutorial/debian-minimal-server/#-configure-the-network
    More info:
    For configuring name servers, I found this info: https://serverfault.com/questions/1145358/how-can-i-configure-my-dns-settings-on-debian-12
     
    ahrasis likes this.
  3. jimmie

    jimmie Member

    I just saw your text after being able to access the server. I had to change network interface file, added my static IP.
    now I can access the server but only by the static IP. I created dns records with wizard and a website it has been several hours and i don't see the website i created. the website was working for several years on another server. i lost everything here in florida and am having to start from sctarch
     
  4. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    Are you using ISPConfig? I am asking since you are posting in general linux forum and using ISPConfig is a little different than general linux.

    In any event, to access any of your website domain directly instead of via the IP, you need to add your website FQDN in your dns server, then create a proper vhost for it.
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    If this is ISPConfig, most common mistakes are:

    - Missing dots at the end of fully qualified domain names in DNS.
    - Using subdomains of the same domain as DNS records but not creating A-Records for them. Example:

    zone domain.tld

    when you use "ns1.domain.tld." as NS records, then you must also create a A-Record for "ns1.domain.tld.".
     
    ahrasis likes this.

Share This Page