<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>██▓▓▒▒░░ ɔɔ˙ǝɹ0ɔ˙ʍʍʍ ░░▒▒▓▓█ &#187; c0re.cc</title>
	<atom:link href="http://blog.c0re.cc/category/stuff/c0recc/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.c0re.cc</link>
	<description>Dreaming in digital, Talking in VoIP, Living in real time, Writing in C++, Java, C#.... Welcome to my world!</description>
	<lastBuildDate>Sat, 21 Aug 2010 18:15:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Como configurar 2 o mas dominios para que resuelvan el mismo Blog de WordPress ubicado en un solo servidor Web</title>
		<link>http://blog.c0re.cc/2009/12/stuff/c0recc/como-configurar-2-o-mas-dominios-para-que-resuelvan-el-mismo-blog-de-wordpress-ubicado-en-un-solo-servidor-web.html</link>
		<comments>http://blog.c0re.cc/2009/12/stuff/c0recc/como-configurar-2-o-mas-dominios-para-que-resuelvan-el-mismo-blog-de-wordpress-ubicado-en-un-solo-servidor-web.html#comments</comments>
		<pubDate>Wed, 23 Dec 2009 22:55:29 +0000</pubDate>
		<dc:creator>Jose Antonio Bueno</dc:creator>
				<category><![CDATA[c0re.cc]]></category>

		<guid isPermaLink="false">http://blog.antoniobs.net/?p=1242</guid>
		<description><![CDATA[En realidad les explicare la idea original y su solucion la cual  consiste en hacer posible que un mismo  administrador de contenidos (WordPress) ubicado en un solo servidor pueda atender la peticion de dos dominios diferentes o incluzo todos los dominios que deseemos y mejor aun que los enlaces de todo el sitio mantengan la [...]]]></description>
			<content:encoded><![CDATA[<p>En realidad les explicare la idea original y su solucion la cual  consiste en hacer posible que un mismo  administrador de contenidos (<a href="http://wordpress.com" target="_self">WordPress</a>) ubicado en un solo servidor pueda atender la peticion de dos dominios diferentes o incluzo todos los dominios que deseemos y mejor aun que los enlaces de todo el sitio mantengan la URL de la peticion original de nuestro Blog.</p>
<p>Es decir si un usuario escribe desde su navegador Web la URL: <a href="http://www.c0re.cc " target="_blank"><strong>http://www.c0re.cc </strong></a>el resultado sera el siguiente sitio web con los links de todas las secciones apuntando a el dominio <strong>www.c0re.cc</strong> en mi caso <strong>blog.c0re.cc</strong>:</p>
<h6 style="text-align: center;"><a href="http://blog.antoniobs.net/wp-content/uploads/wp_dinamico_01.png"><img class="size-medium wp-image-1243 aligncenter" title="wp_dinamico_01" src="http://blog.antoniobs.net/wp-content/uploads/wp_dinamico_01-300x209.png" alt="wp_dinamico_01" width="300" height="209" /></a>(Observar la barra de estado del navegador web cuando se va a dar click en cualquier link)</h6>
<p>Cuando el mismo usuario escriba en su navegador la URL: <a href="http://www.atoniobs.net " target="_blank"><strong>http://www.atoniobs.net </strong></a>el sitio debera verse con el contenido de el mismo blog pero mejor aun manteniendo los links del dominio <strong>www.antoniobs.net</strong> y en mi caso en particular <strong>blog.antoniobs.net</strong>:</p>
<p><a href="http://blog.antoniobs.net/wp-content/uploads/wp_dinamico_02.png"><img class="size-medium wp-image-1244 aligncenter" title="wp_dinamico_02" src="http://blog.antoniobs.net/wp-content/uploads/wp_dinamico_02-300x209.png" alt="wp_dinamico_02" width="300" height="209" /></a></p>
<h6 style="text-align: center;">(Observar la barra de estado del navegador web cuando se va a dar click en cualquier link)</h6>
<p>Cabe destacar que no explicare como se configura un servidor DNS para lo cual pueden encontrar <a href="http://linux-sxs.org/internet_serving/dns.html" target="_blank">documentacion por aqui</a>, solo nos limitaremos a los cambios escenciales para poder obtener los resultados deseados tanto en codigo como en los registros de DNS de nuestro servidor.</p>
<p>Primero que nada debemos apuntar los Registros de DNS de nuestro dominio <strong>www.c0re.cc y www.antoniobs.net</strong> a nuestro servidor de hosting, en mi caso las ips corresponden a la <strong>172.44.33.180 </strong>para <strong>ns1.c0re.cc</strong> y la <strong>72.44.83.199</strong> para <strong>ns2.c0re.cc</strong>, esto dependera de su proveedor de hosting quien les puede proporcionar dicha informacion:</p>
<p style="text-align: center;"><a href="http://blog.antoniobs.net/wp-content/uploads/mapa_www_c0re_cc.png"><img class="size-full wp-image-1248 aligncenter" title="mapa_www_c0re_cc" src="http://blog.antoniobs.net/wp-content/uploads/mapa_www_c0re_cc.png" alt="mapa_www_c0re_cc" width="699" height="358" /></a></p>
<p>Una vez asegurado que nuestro dominio va a resolver nuestro servidor solo bastara hacer unos cambios a nuestro WordPress agregando una funcion nueva que se agregara a el archivo <strong>functions.php </strong>y la modificacion para una funcion de ese mismo archivo ubicado en la carpeta de includes del WordPress en este caso en la ruta: <strong>/home/antonio/public_html/blog/includes/functions.php</strong></p>
<p>Archivo original:</p>
<p style="text-align: center;"><a href="http://blog.antoniobs.net/wp-content/uploads/wp_01.jpg"><img class="size-full wp-image-1249 aligncenter" title="wp_01" src="http://blog.antoniobs.net/wp-content/uploads/wp_01.jpg" alt="wp_01" width="634" height="419" /></a></p>
<p>Funcion nueva:</p>
<pre class="brush: html">

/*
* DNS for c0re.cc and antoniobs.net
* c0ded by c0re
* Date: 21/Dic/2009
*/
$c0re_Domains = array(&quot;c0re.cc&quot;, &quot;antoniobs.net&quot; ); // set our domains
$c0re_BlogSubDomain = &quot;blog&quot;; // the subdomain
/*
* Returns the final URL of my blog for diferent Server.
* by c0re
*/
function getFinalUrlBlog()
{
global $c0re_Domains;                   //List of all our domains in the same blog
global $c0re_BlogSubDomain;             // Path or subdomain base of the Blog
$SERVER_NAME = $_SERVER[&quot;SERVER_NAME&quot;]; //Get Server name of request petition

if(substr_count($SERVER_NAME,&quot;.&quot;) == 0) //is LOCALHOST or HOSTNAME? (Ex. win2k, winxp, lunuxsrv )
return &quot;http://$SERVER_NAME/$c0re_BlogSubDomain&quot;;

foreach($c0re_Domains as $domain)       // is a Domain or Sub Domain?
if(substr_count($SERVER_NAME,$domain))
return &quot;http://$c0re_BlogSubDomain.$domain&quot;;

return $c0re_Domains[0]; // If can&#039;t find nothing returns the first domain

}
</pre>
<p>agregando la funcion quedara asi:</p>
<p style="text-align: center;"><a href="http://blog.antoniobs.net/wp-content/uploads/wp_02.jpg"><img class="size-medium wp-image-1250 aligncenter" title="wp_02" src="http://blog.antoniobs.net/wp-content/uploads/wp_02-300x189.jpg" alt="wp_02" width="300" height="189" /></a></p>
<p style="text-align: left;">por ultimo agregamos las siguientes lineas a nuestra funcion <strong>get_option </strong>ubicado en el mismo archivo <strong>functions.php</strong></p>
<p style="text-align: left;">
<p style="text-align: left;">Original:<a href="http://blog.antoniobs.net/wp-content/uploads/wp_03.jpg"><img class="size-medium wp-image-1251 aligncenter" title="wp_03" src="http://blog.antoniobs.net/wp-content/uploads/wp_03-300x241.jpg" alt="wp_03" width="300" height="241" /></a></p>
<p style="text-align: left;">Nuevas lineas:</p>
<pre class="brush: html">/*
* By c0re for dinamic HostName Server :p
*/
if ($setting == &quot;home&quot; || $setting == &quot;site&quot;)
return getFinalUrlBlog() ;
</pre>
<p style="text-align: left;">Finalmente quedara asi:</p>
<p style="text-align: center;"><a href="http://blog.antoniobs.net/wp-content/uploads/wp_04.jpg"><img class="size-full wp-image-1252 aligncenter" title="wp_04" src="http://blog.antoniobs.net/wp-content/uploads/wp_04.jpg" alt="wp_04" width="569" height="433" /></a></p>
<p style="text-align: left;">Solo quedria esperar que se actualizen los registros de DNS para que el cambio se vea reflejado:</p>
<h6 style="text-align: center;"><a href="http://blog.antoniobs.net/wp-content/uploads/wp_dinamico_01.png"><img class="size-medium wp-image-1243 aligncenter" title="wp_dinamico_01" src="http://blog.antoniobs.net/wp-content/uploads/wp_dinamico_01-300x209.png" alt="wp_dinamico_01" width="300" height="209" /></a></h6>
<p><a href="http://blog.antoniobs.net/wp-content/uploads/wp_dinamico_02.png"><img class="size-medium wp-image-1244 aligncenter" title="wp_dinamico_02" src="http://blog.antoniobs.net/wp-content/uploads/wp_dinamico_02-300x209.png" alt="wp_dinamico_02" width="300" height="209" /></a></p>
<p style="text-align: left;">Dejo disponible el archivo modificado para que puedan <a href="http://blog.antoniobs.net/wp-content/uploads/functions.zip" target="_blank">descargaro dando click aqui:</a></p>
<p style="text-align: left;"><a href="http://blog.antoniobs.net/wp-content/uploads/functions.zip" target="_blank"><strong>DOWNLOAD functions.php</strong></a></p>
<p style="text-align: left;">
<p style="text-align: left;">Saludos!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.c0re.cc/2009/12/stuff/c0recc/como-configurar-2-o-mas-dominios-para-que-resuelvan-el-mismo-blog-de-wordpress-ubicado-en-un-solo-servidor-web.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Actualizando DNS de c0re.cc</title>
		<link>http://blog.c0re.cc/2009/12/stuff/c0recc/actualizando-dns-de-c0recc.html</link>
		<comments>http://blog.c0re.cc/2009/12/stuff/c0recc/actualizando-dns-de-c0recc.html#comments</comments>
		<pubDate>Mon, 21 Dec 2009 07:16:46 +0000</pubDate>
		<dc:creator>Jose Antonio Bueno</dc:creator>
				<category><![CDATA[c0re.cc]]></category>

		<guid isPermaLink="false">http://blog.antoniobs.net/?p=1233</guid>
		<description><![CDATA[Hoy estube modificando un poco los registros de DNS para mi dominio lo que causara que todo el Fin de semana y parte del Lunes no se pueda accesar, pero espero que para el Martes la tabla de Ruteo se halla actualizado y se pueda accesar sin problemas. mmmm todo por organizar mis servers ¬¬ [...]]]></description>
			<content:encoded><![CDATA[<p>Hoy estube modificando un poco los <a href="http://es.wikipedia.org/wiki/Domain_Name_System" target="_blank">registros de DNS </a>para <a href="http://c0re.cc">mi dominio </a>lo que causara que todo el Fin de semana y parte del Lunes no se pueda accesar, pero espero que para el Martes la <a href="http://es.wikipedia.org/wiki/Tabla_de_enrutamiento" target="_blank">tabla de Ruteo </a>se halla actualizado y se pueda accesar sin problemas.</p>
<p>mmmm todo por organizar mis servers ¬¬ y por tener una <a href="http://es.wikipedia.org/wiki/Red_privada_virtual" target="_blank">VPN </a>mas organizada ¬¬</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.c0re.cc/2009/12/stuff/c0recc/actualizando-dns-de-c0recc.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>I have a new domain :D www.c0re.cc</title>
		<link>http://blog.c0re.cc/2009/09/stuff/my-world/i-have-a-new-domain-d-wwwc0recc.html</link>
		<comments>http://blog.c0re.cc/2009/09/stuff/my-world/i-have-a-new-domain-d-wwwc0recc.html#comments</comments>
		<pubDate>Sat, 19 Sep 2009 15:58:12 +0000</pubDate>
		<dc:creator>Jose Antonio Bueno</dc:creator>
				<category><![CDATA[My World]]></category>
		<category><![CDATA[My life]]></category>
		<category><![CDATA[c0re.cc]]></category>

		<guid isPermaLink="false">http://blog.antoniobs.net/?p=875</guid>
		<description><![CDATA[Well guys I have a new domain www.c0re.cc, It&#8217;s my new baby Well, in the past, I was looking for a nick, because the mostly people have one, and then finally, I&#8217;m going to use c0re, and Why c0re? Literally c0re is the conjunction of chars and numbers , specifically the number &#8220;zero&#8221; , &#8220;c&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.antoniobs.net/wp-content/uploads/wwwc0recc.jpeg"><img class="aligncenter size-full wp-image-876" title="wwwc0recc" src="http://blog.antoniobs.net/wp-content/uploads/wwwc0recc.jpeg" alt="wwwc0recc" width="512" height="293" /></a></p>
<p>Well guys I have a new domain <a href="http://www.c0re.cc"><strong>www.c0re.cc</strong></a>, It&#8217;s my new baby <img src='http://blog.c0re.cc/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Well, in the past, I was looking for a nick, because the mostly people have one, and then finally, I&#8217;m going to use <strong>c0re</strong>, and Why c0re?</p>
<p>Literally c0re is the conjunction of  chars and numbers , specifically the number &#8220;zero&#8221; , <strong>&#8220;c&#8221; plus &#8220;0&#8243;  plus  &#8220;re&#8221;</strong>.</p>
<p>Talking specifically about the word &#8220;core&#8221;, We can find some meanings and We can use &#8220;core&#8221; for:</p>
<p style="padding-left: 30px;">- Specify the heart of some application, some Computer system.</p>
<p style="padding-left: 30px;">- The central functionality for something</p>
<p style="padding-left: 30px;">- Or Simply like an acronym.</p>
<p style="padding-left: 30px;">- something indispensable, the central part of something</p>
<p style="padding-left: 30px;">- <a href="http://www.intel.com">Intel </a>use &#8220;<strong>core</strong>&#8221; for some <a href="http://www.intel.com/espanol/products/processor/core2duo/index.htm">names of processors<br />
</a></p>
<p>And personally I enjoy write source code for stand alone programs or some remote personal systems, and It&#8217;s a great reason for use this word like a nick :p, but&#8230;.   I had to use c0re with a &#8220;Zero&#8221; becasue all the domains on internet has a owner and fortunately I can find <strong>www.c0re.cc</strong> without a owner and ZaaaaZ! <img src='http://blog.c0re.cc/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  It&#8217;s mine. :p</p>
<p>Well actually exist a group of crackers, with the same acronym &#8220;<strong>CORE</strong>&#8220;, It&#8217;s very important  this &#8211;&gt; <strong>I want clarify that I have not belonged to that group, and I have no connection with them, and I&#8217;m not part of them</strong>. It&#8217;s only for your information <img src='http://blog.c0re.cc/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  and avoid misunderstandings.</p>
<p>Well guys, now you can find me on <a href="http://www.c0re.cc"><strong>www.c0re.cc</strong></a> or <a href="http://www.antoniobs.net"><strong>www.antoniobs.net</strong></a>, Salu2s <img src='http://blog.c0re.cc/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.c0re.cc/2009/09/stuff/my-world/i-have-a-new-domain-d-wwwc0recc.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
