Nusantara today is an Indonesian term for the Indonesian archipelago. It originated in Old Javanese and literally means "archipelago". In Malay, Nusantara means the Malay world.
The word Nusantara was taken from an oath by Gajah Mada in 1336, as written in the Old Javanese Pararaton and Nagarakretagama. Gajah Mada was a powerful military leader and prime minister of Majapahit who was credited with bringing the empire to its peak of glory. Gajah Mada delivered an oath called Sumpah Palapa, in which he vowed not to eat any food containing spices until he had conquered all of Nusantara under the glory of Majapahit.
Today, Indonesian historians believed that the concept of Nusantara was not an idea coined by Gajah Mada for the first time in 1336. It was coined earlier in 1275 as Cakravala Mandala Dvipantara by Kertanegara of Singhasari. Dvipantara is a Sanskrit word for the "islands inbetween", the synonym to Nusantara as both dvipa and nusa mean "island". The term is used to describe the Southeast Asian Archipelago. Kertanegara envisioned the union of Southeast Asian maritime kingdoms under Singhasari as a bulwark against the rise of the expansionist Mongol Yuan dynasty in mainland China.
Nusantara is a Javanese word which appears in the Pararaton manuscript. In Javanese, Nusantara means "outer islands", from nūsa, meaning "island" and antara, "within". Based on the Majapahit concept of state, the monarch had the power over three areas:
Negara Agung, or the Grand State, the core kingdom. This includes the capital and the surrounding area. In the context of the Majapahit empire, this area covered East Java and its surrounding area.
Mancanegara, areas surrounding Negara Agung. These areas are directly influenced by Javanese culture. In the context of Majapahit empire, this includes the entire Java island, Madura, Bali, as well as Lampung and Palembang in South Sumatra.
Nusantara, areas which do not reflect Javanese culture, but are colonies where they had to pay tribute. In the context of Majapahit empire, this includes the modern territories of Indonesia, Malaysia, Singapore, the Philippines, Brunei, East Timor and southern Thailand.
In 1920, Ernest Francois Eugene Douwes Dekker (1879–1950), who was also known as Setiabudi, introduced a new name for this proposed independent country (successor state of colonial Dutch East Indies) — which unlike its currently used name of "Indonesia" — did not contain any words etymologically inherited from the name of India or the Indies. The new proposed name was the locally developed name Nusantara. This is the first instance of the term Nusantara appearing after it had been written into Pararaton manuscript.
The definition of Nusantara introduced by Setiabudi is different to the 14th century definition of the term. During the Majapahit era, Nusantara described vassal areas to be conquered. Setiabudi didn't want this aggressive connotation, so he defined Nusantara as all the Indonesian regions from Sabang as far as Merauke.
Today in Indonesian, Nusantara is synonymous with Indonesian archipelago or the national territory of Indonesia, in this sense the term Nusantara excludes Malaysia, Singapore, Brunei and the Philippines. While in Malaysian this term is synonymous and often interchangeable with Malay archipelago or Malay realm (Malay: Alam Melayu) which includes those countries.
(source)