Are there any problems making the URI/URN publicly available?

I recently transferred my sites from Shared Hosting to a Cloud/Virtual Private Server and can now access the site using a URI/URN.

I am curious to know of any problems, benefits or should I use a .htaccess file to redirect to one of the URLs?

Personally I think it is bonus and can experiment without having to use one of the URLs.

What you mean by URI/URN ? You can access site with out URL ?

It is better to have one URL for web site, i used to set my sites with out www, recently changed to with www because if you use http://yourdomain.extn, any cookie set is available to all sub domains, that is extra traffic, security issue can be avoid when using www in your URL.

For IP on the server, i always set a default page, that way no virtual host content will be available via IP address, i don’t think it is good to have your content available via IP.

@HostOnNet

What you mean by URI/URN ? You can access site with out URL?

The server has a unique IP_ADDRESS http://12.34.56.79 which accesses the site. The domain URLs access the same server by using URLs e.g. http://domain-one.com, http://domain-two.com , etc

It is better to have one URL for web site, i used to set my sites with out www, recently changed to with www because if you use http://yourdomain.extn, any cookie set is available to all sub domains, that is extra traffic, security issue can be avoid when using www in your URL.

I am interested; have you a specific reference that I could read?

For IP on the server, i always set a default page, that way no virtual host content will be available via IP address, i don’t think it is good to have your content available via IP.

Maybe I have incorrectly set the VPSs directory structure. Each URL is working independently and Google Webmaster Tools is not screaming about server errors. It is just the unique IP_ADDRESS that I am concerned if it is open to the general public.

N.B. Although extensive reading about IP Address, URLs, URIs, URNs I am still confused due to conflicting reports.

[off topic]Note to Mods:
This is the fourth time I have tried to post.
Looks like the edit button has disappeared but a page refresh allows editing and saving?
Now its back again :slight_smile:
]

I always disable this. Put a bank index.html file in folder /var/www/html

Create a new apache VirtualHost entry for your web site.

I generally keep my sites in /home/domainname/public_html folder like cpanel servers do (but with actual domain name).

Here is an example VirtualHost entry used by one of my web site

<VirtualHost SERVER_IP:80>
    ServerName my-domain.com
    ServerAlias www.my-domain.com
    ServerAdmin info@my-domain.com
    CustomLog /var/log/httpd/my-domain.com.log combined
    DocumentRoot /home/my-domain.com/public_html
    <Directory "/home/my-domain.com/public_html/">
        Options Indexes FollowSymLinks
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>
</VirtualHost>

I would redirect these urls into one url, this way google have no duplicate content.

http://www.yes-www.org/why-use-www/

This made me change my preferred url from http://yourdomain.com to http://www.yourdomain.com

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.