Cannot ping or nslookup local Wordpress

-1

Hi I have created a local WordPress blog using lamp server. I can ping and nslookup localhost, however; i cannot do the same with localhost/WordPress Help please

raj

Posted 2014-10-18T17:53:23.697

Reputation: 1

You can't ping or nslookup a URL. – joeqwerty – 2014-10-18T17:59:59.177

It says connection timed out; no servers could be reached. – raj – 2014-10-18T18:07:33.337

Are you running nslookup localhost/WordPress? If so, that is a URL. You can't nslookup a URL. – joeqwerty – 2014-10-18T18:09:03.430

I need to figure out if I can access my WordPress with my terminal – raj – 2014-10-18T18:10:57.960

You're not answering my question. Are you trying to run nslookup localhost/WordPress? – joeqwerty – 2014-10-18T18:12:21.850

yes I was trying nslookup localhost/wordpress – raj – 2014-10-18T18:13:51.237

OK then as I said, you cannot nslookup a URL. If you're trying to access the /WordPress site and it is not the default web site then you'll need to set up name-based virtual hosting. – joeqwerty – 2014-10-18T18:18:04.740

Answers

1

Why not? What happens? Your question is lacking some critical details. What output do you get from the commands when you try and run them? Does any connectivity work or is it just ping/DNS that is failing?

Ed Neville

Posted 2014-10-18T17:53:23.697

Reputation: 236

It says connection timed out; no servers could be reached. – raj – 2014-10-18T18:08:32.807