Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Enabling ipv6 on centOS droplet resulted
I had my application that was working fine with ipv4 . We needed ipv6 and i enabled it following the tutorial here https://www.digitalocean.com/docs/networking/ipv6/how-to/enable/#on-existing-droplets. The problem is, it took my site offline and occasionally returning bad gateway now. I am getting frustrated really and any help will be appreciated.
I changed my ifcfg-eth0 file as recommended to
BOOTPROTO=none DEFROUTE=yes DEVICE=eth0 GATEWAY=my_gateway HWADDR=address IPADDR=address IPADDR1=1addres1 MTU=1500 NETMASK=mask_value NETMASK1=mask_value ONBOOT=yes TYPE=Ethernet USERCTL=no IPV6INIT=yes IPV6ADDR=myIpv6Adrress_value/64 IPV6_DEFAULTGW=ipv6_gateway_value IPV6_AUTOCONF=no
and in my nginx.conf
listen 80; listen [::]:80 ipv6only=on;
Right now , my site here https://nametalkam.com cannot be reached. Please what am i doing wrong?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×