Help Center/ Virtual Private Cloud/ FAQs/ Connectivity/ Why Cannot I Access Public Websites Through Domain Names or Access Internal Domain Names on the Cloud When My ECS Has Multiple NICs?
Updated on 2024-10-15 GMT+08:00

Why Cannot I Access Public Websites Through Domain Names or Access Internal Domain Names on the Cloud When My ECS Has Multiple NICs?

When an ECS has more than one NIC, if different DNS server addresses are configured for the subnets used by the NICs, the ECS cannot access the Internet or domain names on the cloud.

You can resolve this issue by configuring the same DNS server address for the subnets used by the same ECS. You can perform the following steps to modify DNS server addresses of subnets in a VPC:

  1. Log in to the management console.
  1. On the console homepage, under Networking, click Virtual Private Cloud.
  2. In the navigation pane on the left, click Virtual Private Cloud.
  3. On the Virtual Private Cloud page, locate the VPC for which a subnet is to be modified and click the VPC name.
  4. In the subnet list, locate the row that contains the subnet to be modified, click Modify. On the displayed page, change the DNS server address as prompted.
  5. Click OK.