问题原文
原帖链接 · Voltic · CC BY-SA 3.0
I'm using CentOS, LAMP and Wordpress.org I have added and edited a virtual host on the apache server. For servername I put the hostname that is output when I typed the command hostname. Now I'm accessing my website by typing ipaddress/wp-admin. But I want to access it through the domain name. Doing some research I found out that I have to update my domain’s DNS records. How do I do that or is there another way to do it?
For iptables I only enabled port 80 or http access.
已采纳解答
原帖链接 · zigojacko · CC BY-SA 3.0
You'll need to create an A record to point the domain to the servers IP address.
- Log in to your domain registrar control panel or wherever your DNS records are controlled.
- Create a new
Arecord. - Set the
domain.com.as the host and the value as the IP address. - Allow up to 24 hours for the DNS record to propagate.
For example:-
- Host:
clubnetsem.com. - Type:
A - Value:
149.255.56.109
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
