How do I unblock website in Ubuntu?












0















I have blocked youtube.com website using gedit /etc/hosts file. Then I have removed the entries in hosts file. Even though the websites are blocked permanently. How can I unblock Youtube again?










share|improve this question

























  • Please provide more information on what exactly you did. If you removed the entries you added to /etc/hosts file then you should be able to access that site without issues. What is the error you are getting when trying to access it?

    – mbiber
    Apr 1 '16 at 12:23
















0















I have blocked youtube.com website using gedit /etc/hosts file. Then I have removed the entries in hosts file. Even though the websites are blocked permanently. How can I unblock Youtube again?










share|improve this question

























  • Please provide more information on what exactly you did. If you removed the entries you added to /etc/hosts file then you should be able to access that site without issues. What is the error you are getting when trying to access it?

    – mbiber
    Apr 1 '16 at 12:23














0












0








0








I have blocked youtube.com website using gedit /etc/hosts file. Then I have removed the entries in hosts file. Even though the websites are blocked permanently. How can I unblock Youtube again?










share|improve this question
















I have blocked youtube.com website using gedit /etc/hosts file. Then I have removed the entries in hosts file. Even though the websites are blocked permanently. How can I unblock Youtube again?







14.04 hosts






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 8 hours ago









Asadefa

135




135










asked Apr 1 '16 at 11:28









sureshkumarsureshkumar

11




11













  • Please provide more information on what exactly you did. If you removed the entries you added to /etc/hosts file then you should be able to access that site without issues. What is the error you are getting when trying to access it?

    – mbiber
    Apr 1 '16 at 12:23



















  • Please provide more information on what exactly you did. If you removed the entries you added to /etc/hosts file then you should be able to access that site without issues. What is the error you are getting when trying to access it?

    – mbiber
    Apr 1 '16 at 12:23

















Please provide more information on what exactly you did. If you removed the entries you added to /etc/hosts file then you should be able to access that site without issues. What is the error you are getting when trying to access it?

– mbiber
Apr 1 '16 at 12:23





Please provide more information on what exactly you did. If you removed the entries you added to /etc/hosts file then you should be able to access that site without issues. What is the error you are getting when trying to access it?

– mbiber
Apr 1 '16 at 12:23










1 Answer
1






active

oldest

votes


















0














to find out the IP address of a web-site you may visit this conver host to IP
please add a new entry in /etc/hosts file with the IP address of the website you want to visit in your case youtube.com. Here is for example: add in your hosts file



216.58.208.142 www.youtube.com # put IP address and its hostname



then run



sudo /etc/init.d/networking start



You should be able to visit a site again. Moreover, any route is specified in the file /etc/hosts are prioritised by the system.






share|improve this answer


























  • Changes in /etc/hosts are immediate, unless you have nscd or something similar running. You don't need to do the /etc/init.d/ thing.

    – muru
    Apr 2 '16 at 5:24











  • Yes you are right but I put in case in /etc/hosts file contains both 127.0.0.1 www.youtube.com 216.58.208.142 www.youtube.com then a start is needed to access the site again though having the first entry is useless

    – bhordupur
    Apr 2 '16 at 5:31













Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f752647%2fhow-do-i-unblock-website-in-ubuntu%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














to find out the IP address of a web-site you may visit this conver host to IP
please add a new entry in /etc/hosts file with the IP address of the website you want to visit in your case youtube.com. Here is for example: add in your hosts file



216.58.208.142 www.youtube.com # put IP address and its hostname



then run



sudo /etc/init.d/networking start



You should be able to visit a site again. Moreover, any route is specified in the file /etc/hosts are prioritised by the system.






share|improve this answer


























  • Changes in /etc/hosts are immediate, unless you have nscd or something similar running. You don't need to do the /etc/init.d/ thing.

    – muru
    Apr 2 '16 at 5:24











  • Yes you are right but I put in case in /etc/hosts file contains both 127.0.0.1 www.youtube.com 216.58.208.142 www.youtube.com then a start is needed to access the site again though having the first entry is useless

    – bhordupur
    Apr 2 '16 at 5:31


















0














to find out the IP address of a web-site you may visit this conver host to IP
please add a new entry in /etc/hosts file with the IP address of the website you want to visit in your case youtube.com. Here is for example: add in your hosts file



216.58.208.142 www.youtube.com # put IP address and its hostname



then run



sudo /etc/init.d/networking start



You should be able to visit a site again. Moreover, any route is specified in the file /etc/hosts are prioritised by the system.






share|improve this answer


























  • Changes in /etc/hosts are immediate, unless you have nscd or something similar running. You don't need to do the /etc/init.d/ thing.

    – muru
    Apr 2 '16 at 5:24











  • Yes you are right but I put in case in /etc/hosts file contains both 127.0.0.1 www.youtube.com 216.58.208.142 www.youtube.com then a start is needed to access the site again though having the first entry is useless

    – bhordupur
    Apr 2 '16 at 5:31
















0












0








0







to find out the IP address of a web-site you may visit this conver host to IP
please add a new entry in /etc/hosts file with the IP address of the website you want to visit in your case youtube.com. Here is for example: add in your hosts file



216.58.208.142 www.youtube.com # put IP address and its hostname



then run



sudo /etc/init.d/networking start



You should be able to visit a site again. Moreover, any route is specified in the file /etc/hosts are prioritised by the system.






share|improve this answer















to find out the IP address of a web-site you may visit this conver host to IP
please add a new entry in /etc/hosts file with the IP address of the website you want to visit in your case youtube.com. Here is for example: add in your hosts file



216.58.208.142 www.youtube.com # put IP address and its hostname



then run



sudo /etc/init.d/networking start



You should be able to visit a site again. Moreover, any route is specified in the file /etc/hosts are prioritised by the system.







share|improve this answer














share|improve this answer



share|improve this answer








edited Apr 2 '16 at 5:18

























answered Apr 1 '16 at 12:13









bhordupurbhordupur

32838




32838













  • Changes in /etc/hosts are immediate, unless you have nscd or something similar running. You don't need to do the /etc/init.d/ thing.

    – muru
    Apr 2 '16 at 5:24











  • Yes you are right but I put in case in /etc/hosts file contains both 127.0.0.1 www.youtube.com 216.58.208.142 www.youtube.com then a start is needed to access the site again though having the first entry is useless

    – bhordupur
    Apr 2 '16 at 5:31





















  • Changes in /etc/hosts are immediate, unless you have nscd or something similar running. You don't need to do the /etc/init.d/ thing.

    – muru
    Apr 2 '16 at 5:24











  • Yes you are right but I put in case in /etc/hosts file contains both 127.0.0.1 www.youtube.com 216.58.208.142 www.youtube.com then a start is needed to access the site again though having the first entry is useless

    – bhordupur
    Apr 2 '16 at 5:31



















Changes in /etc/hosts are immediate, unless you have nscd or something similar running. You don't need to do the /etc/init.d/ thing.

– muru
Apr 2 '16 at 5:24





Changes in /etc/hosts are immediate, unless you have nscd or something similar running. You don't need to do the /etc/init.d/ thing.

– muru
Apr 2 '16 at 5:24













Yes you are right but I put in case in /etc/hosts file contains both 127.0.0.1 www.youtube.com 216.58.208.142 www.youtube.com then a start is needed to access the site again though having the first entry is useless

– bhordupur
Apr 2 '16 at 5:31







Yes you are right but I put in case in /etc/hosts file contains both 127.0.0.1 www.youtube.com 216.58.208.142 www.youtube.com then a start is needed to access the site again though having the first entry is useless

– bhordupur
Apr 2 '16 at 5:31




















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f752647%2fhow-do-i-unblock-website-in-ubuntu%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Category:香港粉麵

List *all* the tuples!

Channel [V]