Hello,
I follow ur steps and configure on local machine.

https://www.digitalocean.com/community/tutorials/how-to-install-the-apache-web-server-on-ubuntu-18-04

This site can’t be reachedwww.yourdomain.com’s server IP address could not be found.
Did you mean http://www.your-domain.com/?
Search Google for your domain
ERR
NAMENOTRESOLVED

but its not working. I am new for this and need to learn website configure with apache. can u please guide step by step how i can configure my website with apache firstly on local and then on my vps dime.

Thanks,
Dwarkanath

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.

×
3 answers

Hi @odoomydata,

First, please make sure you do point a domain to your server and create a config file for it in apache.

Secondly, make sure you’ve configured the DNS of your domain to point to your server.

If you are unsure, I can help you out. We can first start with the DNS, create a root A record to point to your server’s IP and then add a CNAME record for www to point to your domain name. This can be changed from where your DNS is being managed.

Once done, post your Apache configuration file so that I can point out what has been configured wrong.

Kind regards,
Kalin

Thanks,
but now i am configure apache2 on my local machine where i am trying to open webpage but its not work on local.
1.point a domain to your server and create a config file for it in apache where is file located

  1. I add DNS On cloudflare.

Hello, I have solved this problem on Local open page with domain and ip. Now i want to connect Odoo12 with that domain. How i can do this > firstly i want to do this on local.

Submit an Answer