Hi, I know I am doing something wrong. But I simply cannot figure it out. Here’s my DNS zone file:
$ORIGIN goalchieve.com. $TTL 1800 goalchieve.com. IN SOA ns1.digitalocean.com. hostmaster.goalchieve.com. 1433621271 10800 3600 604800 1800 goalchieve.com. 1800 IN NS ns1.digitalocean.com. goalchieve.com. 1800 IN NS ns2.digitalocean.com. goalchieve.com. 1800 IN NS ns3.digitalocean.com. goalchieve.com. 1800 IN A 46.101.0.109 www.goalchieve.com. 1800 IN CNAME goalchieve.com. *.goalchieve.com. 1800 IN CNAME goalchieve.com.
when I run root@Goalchieve:/etc/nginx# ping rc.goalchieve.com ping: unknown host rc.goalchieve.com
Could you help me ?
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.
Click below to sign up and get $100 of credit to try our products over 60 days!
When I try to restart nginx :
@radoslawnoga I made a little mistake
Link the file to sites-enabled:
PS: Show some love if it works by clicking the hearth
@radoslawnoga
Create a new directory
mkdir /var/www/html/rc.goalchieve.com
Create a new configuration :
Paste this (right click)
Save it (CTRL X)
Link the file to sites-enabled
Grant Permission
sudo chown -R www-data:www-data /var/www/html//var/www/html/rc.goalchieve.com
Reboot server
service nginx restart
PS: Sorry for the short tutorial i wrote this on a mobile phone, no way for details. If you want them just ask :-) PPS: If you need PHP just ask and i explain how to install it for nginx
Thanks! Could you write how should set the configuration ? I will be grateful
Remove *.goalchieve.com. and add rc.goalchieve.com. in A for 46.101.0.109 Did you add a new configuration file for your Subdomain? If not, just ask and I write a how to for you